Checkpoint help - 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: Checkpoint help (
/showthread.php?tid=110453)
Checkpoint help -
Larry_Langley - 26.11.2009
can anyone help me?
i have added some player checkpoints but when i go into the red marker it just stays i want it to go when i walk into it
SetPlayerCheckpoint(playerid,-1422.4910,-290.4396,14.1484,5.0);
Re: Checkpoint help -
Rac3r - 26.11.2009
DisablePlayerCheckpoint(playerid);
Add that in your OnPlayerEnterCheckpoint callback.
Re: Checkpoint help -
Larry_Langley - 26.11.2009
thank you very much mate
do you have any idea about local chat??
like if you use /o or /n /b
but i mean if you just type using no cmds at all
what is that?
its not under the /local cmd
Re: Checkpoint help -
Rac3r - 26.11.2009
OnPlayerText?
Here is an example of mine :
Код:
public OnPlayerText(playerid, text[])
{
if((strfind(text,"/q",true)) != -1 || (strfind(text,"/ q",true)) != -1)
{
SendClientMessage(playerid, COLOR_BRIGHTRED, "[ERROR] Your message has been blocked.");
return 0;
}
SendPlayerMessageToAll(playerid,text);
SetPlayerChatBubble(playerid, text, COLOR_WHITE, 30.0, 10000);
return 0;
}