SA-MP Forums Archive
Small help need - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+---- Forum: Help Archive (https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: Small help need (/showthread.php?tid=131164)



Small help need - XxerykxX - 01.03.2010

Hello.

First of all i need a help.


1. You know when you type wrong command or something else you should get SERVER: Unknown Command.

Can you tell me how to change it to your own one?

2. I would like a vehicle respawner
a) Respawn all empty vehicles do their respawn place.
b) Respawn vehicles that are empty and are made by spawn command. ( for eg. /elegy ).

Thank you, Eryk.


Re: Small help need - Eazy_Efolife - 01.03.2010

1:

Change the ending of OnPlayerCommandText to this:
pawn Код:
public OnPlayerCommandText(playerid, cmdtext[])
{
   // Your Message. > Commands ABOVE this. ^^ < [ use SendClientMessage or whatever ]
       return 1;
}
2: Ask in the script request thread.