21.09.2009, 17:43
Cmon,sorry for bump,but i need this
C:\Users\Alexander\Desktop\0.3 Server\gamemodes\FunServer.pwn(342) : warning 202: number of arguments does not match definition C:\Users\Alexander\Desktop\0.3 Server\gamemodes\FunServer.pwn(344) : warning 202: number of arguments does not match definition Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase 2 Warnings.
//Checkpoints define #define DrivingSchool 1
//Checkpoint(s) //SetPlayerCheckpoint(playerid, 4122.1836,-1807.6753,1863.4285, 1.0); CreateCheckpoint(-1, 1, 4122.1836,-1807.6753,1863.4285, 1.0); //line 342 SetCheckpointInterior(1, 0); StartCheckpointSeeking(1); //line 344
public OnCheckpointEnter(playerid, checkpointid){ switch(checkpointid) { // BANKS case DrivingSchool: // The checkpoint ID we specified when we created the checkpoint { SetPlayerPos(playerid,-2029.798339,-106.675910,1035.171875); SetPlayerInterior(playerid,3); SendClientMessage(playerid, BLUE, "Welcome To The Driving School!"); SendClientMessage(playerid, BLUE, "People Have Been Complaining About Your Driving For Ages.."); SendClientMessage(playerid, BLUE, "Maybe It's Time To Learn How To Drive Now?"); SendClientMessage(playerid, BLUE, "Good Luck!"); } } return 1; }
Originally Posted by TheInnocentOne
Can only take 16 checkpoints (0 - 15)....
fix it now please |
Originally Posted by [03
Garsino ]
Code:
C:\Users\Alexander\Desktop\0.3 Server\gamemodes\FunServer.pwn(342) : warning 202: number of arguments does not match definition C:\Users\Alexander\Desktop\0.3 Server\gamemodes\FunServer.pwn(344) : warning 202: number of arguments does not match definition Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase 2 Warnings. Code:
//Checkpoints define #define DrivingSchool 1 Code:
//Checkpoint(s) //SetPlayerCheckpoint(playerid, 4122.1836,-1807.6753,1863.4285, 1.0); CreateCheckpoint(-1, 1, 4122.1836,-1807.6753,1863.4285, 1.0); //line 342 SetCheckpointInterior(1, 0); StartCheckpointSeeking(1); //line 344 Code:
public OnCheckpointEnter(playerid, checkpointid){ switch(checkpointid) { // BANKS case DrivingSchool: // The checkpoint ID we specified when we created the checkpoint { SetPlayerPos(playerid,-2029.798339,-106.675910,1035.171875); SetPlayerInterior(playerid,3); SendClientMessage(playerid, BLUE, "Welcome To The Driving School!"); SendClientMessage(playerid, BLUE, "People Have Been Complaining About Your Driving For Ages.."); SendClientMessage(playerid, BLUE, "Maybe It's Time To Learn How To Drive Now?"); SendClientMessage(playerid, BLUE, "Good Luck!"); } } return 1; } |