25.03.2017, 20:27
What's it saying now?
PHP код:
new z = random(sizeof(RandomCheckpoint)); //No Errors, just a warning, meaning you already have the word "rand" already change it, or re-use the old one.
RandomCheckpoints[playerid] = CreateDynamicRaceCP(playerid, RandomCheckpoint[z][0], RandomCheckpoint[z][1], RandomCheckpoint[z][2], 0.0, 0.0, 0.0, 5.0, -1, -1, -1, 50.0);
public OnPlayerEnterDynamicRaceCP(playerid, checkpointid)
{
if(checkpointid == RandomCheckpoints[playerid])//Missing the [playerid]
{