Adding new CP to lvrcr. - 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: Adding new CP to lvrcr. (
/showthread.php?tid=146769)
Adding new CP to lvrcr. -
SaW_[VrTx] - 08.05.2010
I'm trying to add new CP to lvrcr 1.3.3.8, but unsucess.
1) I added #define CP_SPOWER 91 under #define CP_BIGASSPLANE 90
2) I changed #define MAX_POINTS 91 to #define MAX_POINTS 92
3) Under
Код:
new Float:checkCoords[MAX_POINTS][4] = {
under all other coords i added
Код:
{2060.7737,1009.0436, 2097.0405,884.4066}, // spower
Using these coords;
Quote:
AddPlayerClass(280,2060.7737,1009.0436,10.6719,179 .8179,0,0,0,0,0,0); // 1
AddPlayerClass(280,2097.0405,884.4066,10.6836,183. 1326,0,0,0,0,0,0); // 2
|
4) under
Код:
new Float:checkpoints[MAX_POINTS][4] = {
under all checkpoints i added
Код:
{2083.9729,954.3273,10.7284,4.0}, // spower
5) Under
Код:
public OnPlayerEnterCheckpoint(playerid)
{
new string[256];
Added
Код:
if(getCheckpointType(playerid) == 91 && getCheckpointType(playerid) == 91)
{
ShowMenuForPlayer(spowers, playerid);
}
And that's all, but when i go to that place, i don't see checkpoint.. Why?
Re: Adding new CP to lvrcr. -
SaW_[VrTx] - 09.05.2010
bump
Re: Adding new CP to lvrcr. -
[AC]Flow - 19.06.2010
plz tell me how do u ge tthe Float:checkCoords ??