Quantcast
Channel: SA-MP Forums
Viewing all articles
Browse latest Browse all 18226

Problem with public!

$
0
0
Hello,im have a problem with gamemode:
Code:

public Reportul(playerid)
{
        ReportTime[playerid] = 0;
        format(reporttext[playerid], 30, "NULL");
        format(cheattext[playerid], 30, "NULL");
        reportcheater[playerid] = -1;
        reportreason[playerid] = 0;
        if(playerreported[playerid] != -1)
        {
                reportreason[playerreported[playerid]] = 0;
        }
        playerreported[playerid] = -1;
        KillTimer(timerreport[playerid]);
}

And errors:
Code:

C:\Program Files\Cops And Robbers Romania\gamemodes\test1.pwn(1029) : error 028: invalid subscript (not an array or too many subscripts): "ReportTime"
C:\Program Files\Cops And Robbers Romania\gamemodes\test1.pwn(1029) : warning 215: expression has no effect
C:\Program Files\Cops And Robbers Romania\gamemodes\test1.pwn(1029) : error 001: expected token: ";", but found "]"
C:\Program Files\Cops And Robbers Romania\gamemodes\test1.pwn(1029) : error 029: invalid expression, assumed zero
C:\Program Files\Cops And Robbers Romania\gamemodes\test1.pwn(1029) : fatal error 107: too many error messages on one line

Please help me!
(Sorry for my bad english,im from Romania) :)

Viewing all articles
Browse latest Browse all 18226

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>