?!?!?!
#1

how?!?!?!?!?
pawn Код:
error 017: undefined symbol "playerid"
lines:
pawn Код:
public OnGameModeInit()
{
new Checkpoint1 = SetPlayerCheckpoint(playerid, 2154.0220,1645.2579,9932.2305, 3.0);
return 1;
}
Reply
#2

You cant set a checkpoint for a player in a callback which doesnt handle playerid

What was your intent ?
Reply
#3

pawn Код:
new
    Checkpoint1[MAX_PLAYERS];

public OnPlayerSpawn(playerid) {
    Checkpoint1[playerid] = SetPlayerCheckpoint(playerid, 2154.0220,1645.2579,9932.2305, 3.0);
    return 1;
}
This code will create a checkpoint when a player spawns.
Reply
#4

playerid is not defined in OnGameModeInit.
You dont use playerid under OnGameModeInit.

pawn Код:
public OnGameModeInit()//<== no playerid between this brackets
Reply
#5

i just want to make a checkpoint that if i will stand on it then... (it doesn't metter to you but - bank)...
Reply
#6

then you have to use a checkpoint streamer cause u can only create only one checkpoint at the same time.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)