I am stuck with this
#1

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;
}
Reply
#2

What do you want to happen?
Reply
#3

And what exactly doesn't work?
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)