SA-MP Forums Archive
problem - 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: problem (/showthread.php?tid=69358)



problem - thuron - 17.03.2009

when i enter this checkpoint, i dont get money or a message or anything. what is the problem?:

Код:
public OnPlayerEnterCheckpointEx(playerid, cpid, name[])
{
//                 PAPER JOB
	if(cpid == house1paperboy)
	SendClientMessage(playerid, COLOR_GREEN, "You sold a paper for $1.");
	GivePlayerMoney(playerid,1);
	house2paperboy = CreateCheckpoint(-2789.6572, -181.1877, 10.0625, 3.0, 9999.9, "house2paperboy",true);
 	return 0;
}



Re: problem - [RP]Rav - 17.03.2009

where is OnPlayerCheckpointEx defined? It's not a standard callback I think


Re: problem - thuron - 17.03.2009

it's an include: http://forum.sa-mp.com/index.php?topic=64605.0