14.11.2012, 22:57
Antes de tudo vocк tem que fazer seu sistema pra carregar as informaзхes dos players. Aconselho а vocк, jб que й iniciante em pawno, estudar coisas bбsicas. Leia esse post aqui pra se basear um pouco, e DEPOOOOOIS vocк pode mexer com esses sistemas mais complexos. Abraзo e lembre-se: ninguйm nasceu sabendo pawno.
Quote:
if (strcmp(cmd, "/pedircontas", true) == 0) { if(PlayerInfo[playerid][pMembro] == 0) { SendClientMessage(playerid,COLOR_GREY," Vocк nгo faz parte de nenhuma organizaзгo!"); return true; } DemitirInfoOrg(PlayerName(playerid)); gTeam[playerid] = 3; PlayerInfo[playerid][pTeam] = 3; PlayerInfo[playerid][pMembro] = 0; PlayerInfo[playerid][pLider] = 0; PlayerInfo[playerid][pCargo] = 0; PlayerInfo[playerid][pSpawn] = 0; if(PlayerInfo[playerid][pSex] == 1) { PlayerInfo[playerid][pSkin] = 250; } else { PlayerInfo[playerid][pSkin] = 226; } SetSpawnInfo(playerid, gTeam[playerid], PlayerInfo[playerid][pSkin],0.0,0.0,0.0,0,0,0,0,0,0,0); MedicBill[playerid] = 0; SpawnPlayer(playerid); MedicBill[playerid] = 0; SendClientMessage(playerid, COLOR_LIGHTBLUE, "Vocк pediu as contas, agora vocк й um Civil novamente!"); return true; } |