- เครดิต
- 55
- ความรู้
-
- เงิน $
-
- ความดี
-
|
if (strcmp(cmd, "/quitgang", true) == 0)
{
if(PlayerInfo[playerid][pMember] >= 1 || PlayerInfo[playerid][pLeader] >= 1)
{
GetPlayerName(playerid, sendername, sizeof(sendername));
gTeam[playerid] = 3;
PlayerInfo[playerid][pLeader] = 0;
PlayerInfo[playerid][pTeam] = 3;
PlayerInfo[playerid][pMember] = 0;
PlayerInfo[playerid][pRank] = 0;
PlayerInfo[playerid][pChar] = 0;
new rand = random(sizeof(CIV));
SetSpawnInfo(playerid, gTeam[playerid], CIV[rand],0.0,0.0,0.0,0,0,0,0,0,0,0);
PlayerInfo[playerid][pModel] = CIV[rand];
MedicBill[playerid] = 0;
SpawnPlayer(playerid);
format(string, sizeof(string), "<<¤Ø³ %s ä´éÍÍ¡¨Ò¡á¡ç§ / ͧ¡Ã³ì¢Í§à¢Ò>>", sendername);
SendClientMessageToAll(0x00D0B5AA, string);
PlayerPlaySound(playerid, 1145, 0.0, 0.0, 0.0);
}
else
{
SendClientMessage(playerid, 0x00D0B5AA, "¤Ø³äÁèãªèá¡ç§ / ͧ¡Ã³ì / ÃÑ°ºÒÅ !");
}
return 1;
}
|
|