Safezone Teleport
#2

use IsPlayerInRangeOfPoint instead of PlayerToPoint

you need to format a string before sending it if it has dynamics in it like playerid
SendClientMessageToAll(COLOR_WHITE, "%s has entered the safezone!",playerid);

should be
format(string,sizeof(string),"%s has entered the safezone!",playerid);
SendClientMessageToAll(COLOR_WHITE,string);

and when you use this...
else if(classid == 0)

classid isn't defined, either define it or use something else, I think you want GetPlayerSkin

EDIT:
on the class selection part add a variable so zombies = 0, shine will be 1 ect. like this
pawn Код:
else if(classid == 4)
    {
        GameTextForPlayer(playerid, "[                 Chesty                   ]",500,3);
SetPVarInt(playerid,"classid",4);
    }
this use GetPVarInt(playerid,"classid") to check it
Reply


Messages In This Thread
Safezone Teleport - by FrostedVince - 15.07.2010, 01:49
Re: Safezone Teleport - by cessil - 15.07.2010, 02:01

Forum Jump:


Users browsing this thread: 1 Guest(s)