SA-MP Forums Archive
Checkpoint streamer - 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 streamer (/showthread.php?tid=123744)



Checkpoint streamer - nastoe - 27.01.2010

hi, i have problem i dont know how to make to have more then one checkpoint, i heart i shoud need checkpoint streamer here is the code

Code:
public OnPlayerSpawn(playerid)
{
  if(IsPlayerAdmin(playerid)) SendClientMessageToAll(0xDEEE20FF, "Dobrodosao RCON administratore!");
  PlayerPlaySound(playerid, 1186, 0.0, 0.0, 0.0);
  SetPlayerCheckpoint(playerid, 2233.8381,-1114.8175,1050.8828, 2.0);
  SetPlayerInterior(playerid,0);
  TogglePlayerClock(playerid,0);
  return 1;
}
this is OnPlayerSpawn

Code:
public OnPlayerEnterCheckpoint(playerid)
{
  SetPlayerPos(playerid,1362.9127,1468.7538,11.4609);
  SetPlayerInterior(playerid,0);
  GameTextForPlayer(playerid,"~r~izasao si iz kuce~r~",5000,1);
  return 1;
}
This is OnPlayerEnterCheckpoint
I need that, i working on house system but eXit will be checkpoint for enter i use
Code:
PlayerToPoint
So if you can help me that will be EXELEND!


Re: Checkpoint streamer - mansonh - 27.01.2010

Quote:
Originally Posted by kaisersouse
Checkpoint Streamers
-----------------------------------
CPS by Dragsta - http://forum.sa-mp.com/index.php?topic=69459.0
YCP INCLUDE by Yaheli - http://forum.sa-mp.com/index.php?topic=92631.0
Simple Checkpoint Streamer by -praNkster+ - http://forum.sa-mp.com/index.php?topic=95706.0



Re: Checkpoint streamer - nastoe - 27.01.2010

Code:
C:\Users\NASTIE\Desktop\Las Venturas Party\samp03asvr_R4_win32\gamemodes\LvParty.pwn(4) : fatal error 100: cannot read from file: "cps"
i put in include folder and on top i put #include <cps>


Re: Checkpoint streamer - bajskorv123 - 27.01.2010

Put cps.inc in your Server/Pawno/Includes folder.


Re: Checkpoint streamer - nastoe - 27.01.2010

i did and on top of script i put #include <cps> can someone help me?