how add zcmd
#1

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

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.
Reply
#3

Try to post this in scripting help or follow ben said
Reply
#4

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

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

/aduty command
Reply
#6

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.
Reply
#7

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;
}
Reply
#8

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.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)