14.06.2011, 15:02
pawn Код:
if(strcmp(cmd, "/equiparteste", true) == 0)
{
tmp = strtok(cmdtext, idx);
if(!strlen(tmp)) return SendClientMessage(playerid, COLOR_GRAD2, "USO: /equiparteste [playerid/Parte-do-Nick]");
new playa;
playa = ReturnUser(tmp);
if (PlayerInfo[playerid][pAdmin] >= 3) {
if(IsPlayerConnected(playa)) {
if(playa != INVALID_PLAYER_ID) {
GivePlayerWeapon(playa, 24, 200);
GivePlayerWeapon(playa, 46, 1);
GivePlayerWeapon(playa, 3, 0);
GivePlayerWeapon(playa, 31, 300);
GivePlayerWeapon(playa, 29, 300);
SetPlayerArmour(playa, 60);
return 0x01;
}
return 0x01;
}
return 0x01;
}
return 0x01;
}