Jump to content
  • 0

Question

Posted

Salut sa-mp.ro!!!! :D

Deci am si eu o intrebare ...Am bagat un FS de vipi si nustiu cum sa fac sa pun comanda /setvip la admin 1338 fara sa mai a conectez cu RCON ?  :cry:

11 answers to this question

Recommended Posts

Posted

Salut sa-mp.ro!!!! :D

Deci am si eu o intrebare ...Am bagat un FS de vipi si nustiu cum sa fac sa pun comanda /setvip la admin 1338 fara sa mai a conectez cu RCON ?  :cry:

Da-ne comanda /setvip
Zomboy.png
Posted

ok uiteo :

CMD:setvip( playerid, params[ ] )

{

new giveplayerid, level;

new string[ 128 ], Query[ 256 ], DBResult:Resultat;

if ( !IsPlayerAdmin( playerid ) ) return SendClientMessage( playerid, RED, "Only RCON Administrator can use this command!" );

if ( sscanf( params, "ud", giveplayerid, level ) ) return SendClientMessage( playerid, RED, "USAGE: {FFFF00}/setvip [playerid] [level]" );

if ( giveplayerid == INVALID_PLAYER_ID ) return SendClientMessage( playerid, RED, "Player Is Not Connected!" );

if ( level > 3 ) return SendClientMessage( playerid, RED, "Maximum V.I.P level is 3!" );

if ( level == 0 )

Posted

[pawn]CMD:setvip( playerid, params[ ] )

{

  new giveplayerid, level;

  new string[ 128 ], Query[ 256 ], DBResult:Resultat;

  if ( Admin Level < 1338) return SendClientMessage( playerid, RED, "Only Administrator's can use this command!" );

  if ( sscanf( params, "ud", giveplayerid, level ) ) return SendClientMessage( playerid, RED, "USAGE: {FFFF00}/setvip [playerid] [level]" );

  if ( giveplayerid == INVALID_PLAYER_ID ) return SendClientMessage( playerid, RED, "Player Is Not Connected!" );

    if ( level > 3 ) return SendClientMessage( playerid, RED, "Maximum V.I.P level is 3!" );[/pawn]

***Mare atentie aici: [pawn]if ( Admin Level < 1338) return SendClientMessage( playerid, RED, "Only Administrator's can use this command!" );[/pawn]

Eu am scris "la harneala"  Admin Level < 1338          Nu stiu cum se salveaza la tine levelul de admin.

[glow=blue,2,300]SAMP.[glow=yellow,2,300]RSP-GAME[glow=red,2,300].NET[/glow][/glow][/glow]

Posted

Am bagat si cand dau save imi da erroarea sata :

C:\Users\rares\Desktop\Gm Samp\filterscripts\VIP.pwn(307) : error 017: undefined symbol "Admin"

C:\Users\rares\Desktop\Gm Samp\filterscripts\VIP.pwn(307) : error 017: undefined symbol "Level"

Posted

Trebuie sa schimbi Admin Level cu variabila de admin PlayerInfo[playerid][AdminLevel] sau cum ai tu.

 

1859311972_BANNER-GIREADAcopy-min.thumb.png.48e5e420ae2185dce5b244965a1d2601.png

 

Posted

Ma dar codul ala care mi la dat Staff il bag in Fs sau Gm

Logic ca in GM, niciun FS nu o sa inceapa cu:

CMD:setvip

Rareori ne gândim la ceea ce avem, dar mereu la ceea ce ne lipseşte

Posted

Logic ca in GM, niciun FS nu o sa inceapa cu:

CMD:setvip

Observ ca foloseste un fs. [pawn]C:\Users\rares\Desktop\Gm Samp\filterscripts\VIP.pwn(307)[/pawn]

E clar in fs avea ca adminul sa aiba rconu...

Iti recomand sa bagi in GM acel fs pentru a putea folosi variabilele de la sistemul de admin..

[glow=blue,2,300]SAMP.[glow=yellow,2,300]RSP-GAME[glow=red,2,300].NET[/glow][/glow][/glow]

Posted

Te uiti si tu... unde ai de exemplu onfilterscriptexit te uiti in gm si cauti ongamemodeexit si copiezi din fs in gm..

[glow=blue,2,300]SAMP.[glow=yellow,2,300]RSP-GAME[glow=red,2,300].NET[/glow][/glow][/glow]

Posted

Observ ca foloseste un fs. [pawn]C:\Users\rares\Desktop\Gm Samp\filterscripts\VIP.pwn(307)[/pawn]

E clar in fs avea ca adminul sa aiba rconu...

Iti recomand sa bagi in GM acel fs pentru a putea folosi variabilele de la sistemul de admin..

Ai dreptate, nu am citit totul, nu eram atent, scuze :))

Rareori ne gândim la ceea ce avem, dar mereu la ceea ce ne lipseşte

Guest
This topic is now closed to further replies.
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue. For more details you can also review our Terms of Use and Privacy Policy.