Adding new CP to lvrcr.
#1

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

bump
Reply
#3

plz tell me how do u ge tthe Float:checkCoords ??
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)