08.05.2010, 23:46
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
under all other coords i added
Using these coords;
4) under
under all checkpoints i added
5) Under
Added
And that's all, but when i go to that place, i don't see checkpoint.. Why?
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] = {
Код:
{2060.7737,1009.0436, 2097.0405,884.4066}, // spower
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 |
Код:
new Float:checkpoints[MAX_POINTS][4] = {
Код:
{2083.9729,954.3273,10.7284,4.0}, // spower
Код:
public OnPlayerEnterCheckpoint(playerid) { new string[256];
Код:
if(getCheckpointType(playerid) == 91 && getCheckpointType(playerid) == 91) { ShowMenuForPlayer(spowers, playerid); }