Need A Command Help
#1

How To Make A Command Like That
Код:
/dm
With That :
Код:
/dm 1 //To DM 1
/dm 2 To DM 2
Код:
Usage /dm 1 , 2
Please Help Me
Reply
#2

Use My Dm System :
https://sampforum.blast.hk/showthread.php?tid=627476
Reply
#3

Man is so simple.

Код:
CMD:dm(playerid, params[])
{
new id;
if(sscanf(params, "d", id)) return SendClientMessage(playerid, COLOR_WHITE, "/dm [1-2]");
if(id == 1)
{
SetPlayerPos(playerid, X, Y, Z);
}
else if(id == 2)
{
SetPlayerPos(playerid, X, Y, Z);
}
return 1;
}
How you can't make this command? Is so simple lol
Reply
#4

Quote:
Originally Posted by vinnythebest
Посмотреть сообщение
Man is so simple.

Код:
CMD:dm(playerid, params[])
{
new id;
if(sscanf(params, "d", id)) return SendClientMessage(playerid, COLOR_WHITE, "/dm [1-2]");
if(id == 1)
{
SetPlayerPos(playerid, X, Y, Z);
}
else if(id == 2)
{
SetPlayerPos(playerid, X, Y, Z);
}
return 1;
}
How you can't make this command? Is so simple lol
This is bad idention. and i have 3 years not creating scripts. so i forget it
Reply
#5

Quote:
Originally Posted by Lamy
Посмотреть сообщение
This is bad idention. and i have 3 years not creating scripts. so i forget it
What!? ahahah
Reply
#6

Код:
C:\Users\Houssem\Desktop\SAMP Server\gamemodes\mtdm.pwn(359) : warning 211: possibly unintended assignment
C:\Users\Houssem\Desktop\SAMP Server\gamemodes\mtdm.pwn(361) : warning 202: number of arguments does not match definition
C:\Users\Houssem\Desktop\SAMP Server\gamemodes\mtdm.pwn(365) : warning 202: number of arguments does not match definition
Pawn compiler 3.2.3664	 	 	Copyright © 1997-2006, ITB CompuPhase


3 Warnings.
Reply
#7

Houssem Go PM i will to help you
My Fb: www.********.com/Ayoub.Eddakkaoui
Reply
#8

Where you add my command mate?
I tested him and work fine.

Do you have zcmd? lol
Reply
#9

Quote:
Originally Posted by vinnythebest
Посмотреть сообщение
Where you add my command mate?
I tested him and work fine.

Do you have zcmd? lol
I Have it and placed it under //-------------COMMANDS--------------------
Reply
#10

Quote:
Originally Posted by Lamy
Посмотреть сообщение
I Have it and placed it under //-------------COMMANDS--------------------
What a fuck man? xD
You never used the zcmd?

And this "//-------------COMMANDS--------------------" where is? You need to place the CMD: out of the publics.
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)