Checkpoint streamer
#1

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!
Reply
#2

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
Reply
#3

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>
Reply
#4

Put cps.inc in your Server/Pawno/Includes folder.
Reply
#5

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


Forum Jump:


Users browsing this thread: 1 Guest(s)