[Ajuda] Comando de adm
#2

https://sampwiki.blast.hk/wiki/IsPlayerAdmin

PHP код:
    if (strcmp("/pref"cmdtexttrue10) == 0
    { 
        if(
IsPlayerAdmin(playerid))
        {
            
SetPlayerPos(playerid,XX,YY,ZZ); 
            
GameTextForPlayer(playerid,"Vocк foi teleportado com sucesso",6000,5); 
        }
        return 
1
    } 
no caso seria admin /rcon login jб para outros modos teria que criar um sistema de salvamento dini ou dof2 mais avanзado mysql ou sql entre outras citei as principais .

Tuto DINI: https://sampforum.blast.hk/showthread.php?tid=180237
Manual DOF2: https://sampforum.blast.hk/showthread.php?tid=585807
Tuto DOF2:https://sampforum.blast.hk/showthread.php?tid=422519
Reply


Messages In This Thread
Comando de adm - by VoighTi - 25.03.2016, 01:22
Re: Comando de adm - by 99fe3rnando - 25.03.2016, 01:24
Re: Comando de adm - by ipsLuan - 25.03.2016, 01:42

Forum Jump:


Users browsing this thread: 2 Guest(s)