23.03.2015, 17:28
how to add team donator only for donators/vips
if(pInfo[playerid][Donator] == 1 && pInfo[playerid][Donator] == 0)
{
SendClientMessage(playerid, RED, "You need to be vip for donator team");
return 0;
}
return 1;
}
this team
if(pInfo[playerid][Donator] == 1 && pInfo[playerid][Donator] == 0)
{
SendClientMessage(playerid, RED, "You need to be vip for donator team");
return 0;
}
return 1;
}
this team
Код:
case 12: { GameTextForPlayer(playerid,"~w~VIP ONLY",1000,6); SetPlayerColor(playerid, C_COLOR); gTeam[playerid] = C1; SetPlayerPos(playerid,-285.0289,2661.6575,62.6531); SetPlayerCameraPos(playerid,-279.0844,2660.7461,62.6090); SetPlayerCameraLookAt(playerid,-285.0289,2661.6575,62.6531); SetPlayerFacingAngle(playerid,271.5169); } }