Navigation |
|
|
|
|
|
|
|
|
|
|
|
|
© 2009 by gooddream-scriptingteam.de.tl
|
|
|
|
|
So hier einmal ein kleines tut für alle.
Also um mit einem Command zu beginnen braucht man erst einmal die Commandzeile
if (strcmp("/aj", cmdtext, true, 10) == 0)
nun kommt ein {
In der nächsten Zeile kommt das was der Command bewirken soll.
SetPlayerPos(playerid,1761.7281, -2948.1619, 256.2423);
SendClientMessage(playerid, 0x77BB77BB, "welcome to air jump ");
dies wäre jezt ein Port mit einer Nachricht.
Am Ende noch wie immer return 1; anhängen und fertig
Am ände müsste das dan so aussehen:
if (strcmp("/aj", cmdtext, true, 10) == 0)
{
SetPlayerPos(playerid,1761.7281, -2948.1619, 256.2423);
SendClientMessage(playerid, 0x77BB77BB, "welcome to air jump by mccool ");
return 1;
ich hoffe es hilft.
by mccool
|
|
|
|
|
|
|
|
|
|
|
|