05.02.2012, 11:05
Well, little problem! When I join the serevr as admin, everything is OKAY and I can pick the class!
But, when I join as normal player without level, the buttons ">> or <<" don't even allow me to pick that class!
I want that also normal players can see it, but just when they'll press "Spawn", the message would appear...
Here my code again:
But, when I join as normal player without level, the buttons ">> or <<" don't even allow me to pick that class!
I want that also normal players can see it, but just when they'll press "Spawn", the message would appear...
Here my code again:
pawn Code:
case 27 .. 31: {
if(PlayerInfo[playerid][pAdmin] >= 3)
{
SetPlayerPos(playerid, 1220.1063,-1410.3185,13.1395);
SetPlayerFacingAngle(playerid, 354.7488);
SetPlayerCameraPos(playerid, 1220.2598,-1407.5026,13.1717);
SetPlayerCameraLookAt(playerid, 1220.1063,-1410.3185,13.1395);
GameTextForPlayer(playerid, "~n~~n~~n~~n~~n~~n~~n~~n~~n~~h~~h~~p~Loco ~g~Syndicato", 3000, 3);
}
else
{
SendClientMessage(playerid, COLOR_RED, "You have to be an admin to choose that class, please pick another one!");
return 0;
}