13.12.2011, 10:27
that helped me alot it would be better if it was for shamal missiosn xD
that helped me alot it would be better if it was for shamal missiosn xD
|
C:\Users\r530\Desktop\Pilots Server\gamemodes\pilot.pwn(162) : error 017: undefined symbol "Ccp" C:\Users\r530\Desktop\Pilots Server\gamemodes\pilot.pwn(162) : warning 215: expression has no effect C:\Users\r530\Desktop\Pilots Server\gamemodes\pilot.pwn(162) : error 001: expected token: ";", but found "]" C:\Users\r530\Desktop\Pilots Server\gamemodes\pilot.pwn(162) : error 029: invalid expression, assumed zero C:\Users\r530\Desktop\Pilots Server\gamemodes\pilot.pwn(162) : fatal error 107: too many error messages on one line Compilation aborted.Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase 4 Errors.
Ccp[playerid] = 1;
public OnPlayerEnterCheckpoint(playerid) { if(tcp[playerid] == 1) // This checks if our variable equals to 1, if so: it continues { DisablePlayerCheckpoint(playerid); // This makes sure that there will be a new checkpoint tcp[playerid] = 2; // Changes the variable, so we can use it later again with OnPlayerEnterCheckpoint SetPlayerCheckpoint(playerid, -335.0937,1062.7295,19.7392, 4.0); // Fort carson dropoff SendClientMessage(playerid, -1, "You have just picked up the goods, please drop them off at Fort Carson Medical Center."); return 1; } if(tcp[playerid] == 2) // This checks if our variable equals to 1, if so: it continues { DisablePlayerCheckpoint(playerid); // This makes sure that there will be a new checkpoint tcp[playerid] = 3; // Changes the variable, so we can use it later again with OnPlayerEnterCheckpoint SetPlayerCheckpoint(playerid, -82.6880,-1124.5398,1.0847, 4.0);//Back to HQ for pay SendClientMessage(playerid, -1, "You have just dropped the good off, please head back to HQ to collect your pay for this job."); return 1; } if(tcp[playerid] == 4) // This checks if our variable equals to 1, if so: it continues { DisablePlayerCheckpoint(playerid); // This makes sure that there will be a new checkpoint tcp[playerid] = 5; // Changes the variable, so we can use it later again with OnPlayerEnterCheckpoint SendClientMessage(playerid, -1, "You have been payed $500 for this job."); GivePlayerMoney(playerid, 500); return 1; } return 1; }