27.01.2010, 07:51
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
this is OnPlayerSpawn
This is OnPlayerEnterCheckpoint
I need that, i working on house system but eXit will be checkpoint for enter i use
So if you can help me that will be EXELEND!
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;
}
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;
}
I need that, i working on house system but eXit will be checkpoint for enter i use
Code:
PlayerToPoint

