31.12.2011, 19:40
nao sei como й seu sistema...
fiz de um jeito aki, so nao terminei (to tentando terminar meu Anti-Cheater)
fiz de um jeito aki, so nao terminei (to tentando terminar meu Anti-Cheater)
pawn Код:
CMD:convidar(playerid, params[])
{
if(sscanf(params, "u", iddele))
return SendClientMessage(playerid, COR_CINZA1, "Use: /convidar [id]");
if(!IsPlayerConnected(iddele))
return SendClientMessage(playerid, COR_CINZA2, "Jogador nгo conectado");
MasterInfo[iddele][pMembro] = MasterInfo[playerid][pMembro];
if(MasterInfo[playerid][pLider] == 1) //Se a ORG do cara for a 1
{
SetPlayerSkin(iddele, ID SKIN ORG 1);
MasterInfo[iddele][pSkin] = ID SKIN ORG 1;
}
if(MasterInfo[playerid][pLider] == 2) //Se a ORG do cara for a 2
{
SetPlayerSkin(iddele, ID SKIN ORG 2);
MasterInfo[iddele][pSkin] = ID SKIN ORG 2;
}
if(MasterInfo[playerid][pLider] == 3) //Se a ORG do cara for a 3
{
SetPlayerSkin(iddele, ID SKIN ORG 3);
MasterInfo[iddele][pSkin] = ID SKIN ORG 3;
}
...
SpawnPlayer(iddele);
}

