Race checkpoints didn't work help!
#10

pawn Код:
public OnPlayerEnterRaceCheckpoint(playerid){
    new string[128];
    PlayerTotalCps[playerid]++;
    switch(Stats[playerid]){
            case 1:{
            DisablePlayerRaceCheckpoint(playerid);
            PlayerPlaySound(playerid, 1058, 0.0, 0.0, 10.0);
            SetPlayerRaceCheckpoint(playerid, 0,2144.6772, -1851.0477, 3.269,1945.6807, -1842.3702, 3.2681,10);
            Stats[playerid] = 2;
pawn Код:
C:\Users\MalikObstinate\Desktop\SanAndreas MissiOns DoNe\gamemodes\1VortexRace - Copy.pwn(716) : error 028: invalid subscript (not an array or too many subscripts): "PlayerTotalCps"
C:\Users\MalikObstinate\Desktop\SanAndreas MissiOns DoNe\gamemodes\1VortexRace - Copy.pwn(716) : warning 215: expression has no effect
C:\Users\MalikObstinate\Desktop\SanAndreas MissiOns DoNe\gamemodes\1VortexRace - Copy.pwn(716) : error 001: expected token: ";", but found "]"
C:\Users\MalikObstinate\Desktop\SanAndreas MissiOns DoNe\gamemodes\1VortexRace - Copy.pwn(716) : error 029: invalid expression, assumed zero
C:\Users\MalikObstinate\Desktop\SanAndreas MissiOns DoNe\gamemodes\1VortexRace - Copy.pwn(716) : fatal error 107: too many error messages on one line

Compilation aborted.Pawn compiler 3.2.3664          Copyright (c) 1997-2006, ITB CompuPhase


4 Errors.
Reply


Messages In This Thread

Forum Jump:


Users browsing this thread: 2 Guest(s)