Jump to content

Question

3 answers to this question

Recommended Posts

Posted

http://forum.sa-mp.com/showthread.php?t=255513 uitate acolo si vei vedea

VIP
About the VIP Members..There are only few features for the VIP Members, now here is another reason for the 0Admin_F include! To use into your own gamemode and add the commands you want for your VIP members.
Members can use Player Control Panel(/PCP) to see their VIP commands!

Player Control Panel
Auto-Login
Block PM
My Stats
VIP Level 1
Godlike
Vehicle God
Vehicle Boost
Wear VIP Tag
VIP Level 2
Vehicle Spin
INcredible
VIP Level 3
Shout

Add your own features for your VIP Members. All I did was bringing the VIP system to use it for yourself!

468833_437698_362328_hiphop.jpg
Posted

poti face si tu comenzile de V.I.P pe 0admin...mai usor decat sa le faci acolo in FS...doar pui sus in GM #include <0Admin_F> si dupa accea faci comanda cu functia GetPlayerVip( playerid ) >= viplevel )

ex:

[pawn]

CMD:sall( playerid, params[ ] )

{

    if ( GetPlayerVip( playerid ) >= 1 ) //Doar vipi de level 1!

    {

        SendClientMessage( playerid, COLOR_RED, "Salut!" );

    } else return SendClientMessage( playerid, COLOR_RED, "You are not V.I.P level 1!" );

    return 1;

}

[/pawn]

Fara reclama in semnatura!

Posted

poti face si tu comenzile de V.I.P pe 0admin...mai usor decat sa le faci acolo in FS...doar pui sus in GM #include <0Admin_F> si dupa accea faci comanda cu functia GetPlayerVip( playerid ) >= viplevel )

ex:

[pawn]

CMD:sall( playerid, params[ ] )

{

    if ( GetPlayerVip( playerid ) >= 1 ) //Doar vipi de level 1!

    {

        SendClientMessage( playerid, COLOR_RED, "Salut!" );

    } else return SendClientMessage( playerid, COLOR_RED, "You are not V.I.P level 1!" );

    return 1;

}

[/pawn]

Mai bine doar

[pawn]

CMD:sall( playerid, params[ ] )

{

    if ( GetPlayerVip( playerid ) < 1 ) return SendClientMessage( playerid, COLOR_RED, "You are not V.I.P level 1!" );

    return SendClientMessage( playerid, COLOR_RED, "Salut!" );

}

[/pawn]Nu stiu ce aveti cu "else" asta ...

Guest
This topic is now closed to further replies.
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • 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.