SA-MP Forums Archive
I am stuck with this - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+---- Forum: Help Archive (https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: I am stuck with this (/showthread.php?tid=122903)



I am stuck with this - braduz - 23.01.2010

no errors just dont work

public OnPlayerSpawn(playerid)
{
new Float, Float:y, Float:z;
if(IsPlayerInRangeOfPoint(playerid, 7.0, 220.4434,1822.4990,7.5256))
{
GetPlayerPos(playerid, x, y, z);
CreateExplosion(x+random(1), y+random(1), z+random(1), 6, 100.0);
return 1;
}
if(PlayerInfo[playerid][logged] == 0) {
SendClientMessage(playerid,COLOR_BRIGHTRED, "Wolfbot: Please register your current player name with '/register [password]' and login with '/login [password]'");

}
SetPlayerColor(playerid,COLOR_AQUA);
GivePlayerWeapon(playerid,4,1);
return 1;
}


Re: I am stuck with this - timmehhh - 23.01.2010

What do you want to happen?


Re: I am stuck with this - Streetplaya - 23.01.2010

And what exactly doesn't work?