[Ajuda] Favela So funcionar para o player [ 0 ].
#1

Alguem sabe pq essa favela so funcionar para o player id [0]?

Quote:

public LocalFavela(playerid)
{
new Float:X, Float:Y, Float:Z;
GetPlayerPos(playerid, X, Y, Z);
if(X >= 2021.7699 && Y >= -1153.7277 && X <=2279.1223 && Y <= -949.7124)
{
if(!PlayerInFavela[playerid])
{
GivePlayerWeapon(playerid, 32, 500);
GivePlayerWeapon(playerid, 31, 500);
GivePlayerWeapon(playerid, 24, 500);
GivePlayerWeapon(playerid, 26, 500);
GivePlayerWeapon(playerid, 34, 500);
GivePlayerWeapon(playerid, 9, 1);
PlayerInFavela[playerid] = true;
}
return 1;
}
else
{
ResetPlayerWeapons(playerid);
PlayerInFavela[playerid] = false;
}
return 1;
}

Reply


Messages In This Thread
Favela So funcionar para o player [ 0 ]. - by OtimoJogo - 06.09.2016, 14:05
Re: Favela So funcionar para o player [ 0 ]. - by Whoo - 06.09.2016, 14:46
Re: Favela So funcionar para o player [ 0 ]. - by OtimoJogo - 06.09.2016, 14:52
Re: Favela So funcionar para o player [ 0 ]. - by Whoo - 06.09.2016, 15:05
Re: Favela So funcionar para o player [ 0 ]. - by arakuta - 06.09.2016, 15:32

Forum Jump:


Users browsing this thread: 1 Guest(s)