10.06.2012, 18:26
Voo tentar aqui '-
@EDIT
assim nй ?
@EDIT
pawn Код:
if(strcmp(cmd,"/entrarorg",true)==0) // NOVO ENTRAR ORG
{
if(IsPlayerConnected(playerid))
{
if(WantedPoints[playerid] > 0 || PlayerInfo[playerid][pSocio] == 0 || PlayerInfo[playerid][pMembro] > 0 || PlayerInfo[playerid][pLider] > 0)
return SendClientMessage(playerid,-1,"Vocк nгo pode usar este comando");
new x_EntrarOrg[32];
x_EntrarOrg = strtok(cmdtext, idx);
if(!strlen(x_EntrarOrg)) {
SendClientMessage(playerid, COLOR_WHITE, "USE: /entrarorg [id]");
SendClientMessage(playerid, COLOR_GREY, "Nгo sabe o ID das organizaзхes? /np");
return 1;
}
if(strcmp(x_EntrarOrg,"1",true) == 0)
{
PlayerInfo[playerid][pMembro] = 1;
PlayerInfo[playerid][pCargo] = 4;
SetPlayerSkin(playerid,282);
PlayerInfo[playerid][pSkin] = 282;
SetPlayerSpawn(playerid);
ResetPlayerWeaponsEx(playerid);
SetPlayerColor(playerid, COR_PM);
format(string, sizeof(string), "Sуcio %s entrou para a organizaзгo: 1", sendername);
SendClientMessageToAll(COLOR_LIGHTBLUE, string);
}
assim nй ?