29.06.2011, 22:41
Tenta ai...
No topo:
Em OnPlayerSpawn:
Agora o cmd:
No topo:
PHP код:
new bool:SpawnArmas[MAX_PLAYERS];
PHP код:
if (SpawnArmas[playerid] == true)
{
ResetPlayerWeapons(playerid);
GivePlayerWeapon(playerid, 24,500);
GivePlayerWeapon(playerid, 26,600);
GivePlayerWeapon(playerid, 28,3000);
GivePlayerWeapon(playerid, 31,2000);
GivePlayerWeapon(playerid, 34,300);
GivePlayerWeapon(playerid, 16,250);
SendClientMessage(playerid,amarelo,"[INFO] Vocк recebeu o respawn da gang");
}
PHP код:
if(!strcmp(wet,"armas"))
{
if(TemGang[playerid]==0) return SendClientMessage(playerid,amarelo,"[GANG] Vocк nгo tem gang!");
ResetPlayerWeapons(playerid);
GivePlayerWeapon(playerid, 24,500);
GivePlayerWeapon(playerid, 26,600);
GivePlayerWeapon(playerid, 28,3000);
GivePlayerWeapon(playerid, 31,2000);
GivePlayerWeapon(playerid, 34,300);
GivePlayerWeapon(playerid, 16,250);
SendClientMessage(playerid,amarelo,"[INFO] Vocк adquiriu o respawn da gang!");
SpawnArmas[playerid] = true;
}