SA-MP Forums Archive
how add zcmd - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP (https://sampforum.blast.hk/forumdisplay.php?fid=3)
+--- Forum: General (https://sampforum.blast.hk/forumdisplay.php?fid=13)
+--- Thread: how add zcmd (/showthread.php?tid=516078)



how add zcmd - mostafaveer - 29.05.2014

how add alot of zcmd to my server like /aduty /animlist that


Re: how add zcmd - Parallex - 29.05.2014

Lol?

You mean commands? Go read the scripting basics if you need to learn scripting first which are available in SA-MP wiki.

If you mean how to convert them into ZCMD, just go read a Tutorial regarding it.

Can you tell me about what you are saying? I cannot really understand you.


Re: how add zcmd - Team_PRO - 29.05.2014

Try to post this in scripting help or follow ben said


Re: how add zcmd - mostafaveer - 30.05.2014

i dont understand u man tell me how can i but /aduty on my server im still in the first


Re: how add zcmd - LeGGGeNNdA - 30.05.2014

http://forum.sa-mp.com/showthread.ph...t=make+command

/aduty command


Re: how add zcmd - Yves - 30.05.2014

Quote:
Originally Posted by mostafaveer
Посмотреть сообщение
i dont understand u man tell me how can i but /aduty on my server im still in the first
if you don't understand don't try opening a server because it will just fail.


Re: how add zcmd - iFarbod - 30.05.2014

Sorry, but i write this in in the SA-MP Editor maybe have errors.

You need to be RCON Admin to go on duty.
You need to add some features to it, also, like If a player attack an admin on duty gets punishment!

pawn Код:
CMD:aduty(playerid, params[])
{
    if(!IsPlayerAdmin(playerid)) return 0;
    pDuty[playerid] = 1;
    SetPlayerHealth(playerid, 99999);
    SendClientMessageToAll(-1, "An Admin now is on duty");
    return 1;
}



Re: how add zcmd - BleverCastard - 30.05.2014

Quote:
Originally Posted by iFarbod
Посмотреть сообщение
Sorry, but i write this in in the SA-MP Editor maybe have errors.

You need to be RCON Admin to go on duty.
You need to add some features to it, also, like If a player attack an admin on duty gets punishment!

pawn Код:
CMD:aduty(playerid, params[])
{
    if(!IsPlayerAdmin(playerid)) return 0;
    pDuty[playerid] = 1;
    SetPlayerHealth(playerid, 99999);
    SendClientMessageToAll(-1, "An Admin now is on duty");
    return 1;
}
You're not even defining "pDuty" so this will confuse people that are learning to script. I think you need to read a few tutorials.