[Ajuda] codigo samp
#1

Galera eu criei esse teleporte , mais eu quero por ele so pra admins , me alguem me mostra como poem .?

Код:
if(strcmp(cmdtext,"/pref",true)==0)
{
new vehicleid = GetPlayerVehicleID(playerid);
new State = GetPlayerState(playerid);
if(IsPlayerInAnyVehicle(playerid) && State == PLAYER_STATE_DRIVER)
{
GameTextForPlayer(playerid,"Bem vindo admins",4000,6);
return SetVehiclePos(vehicleid,1482.7837,-1744.7693,13.5469);
}
SetPlayerPos(playerid,1482.7837,-1744.7693,13.5469);
GameTextForPlayer(playerid,"Bem vindo admins",4000,6);
return 1;
}
Reply
#2

pawn Код:
if(IsPlayerAdmin(playerid))
{
SendClientMessage(playerid,-1,"Vocк й Admin");
}
else
{
SendClientMessage(playerid,-1,"Vocк nгo й Admin");
}
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)