02.08.2012, 13:16
SetPlayerCheckpoint is wrong. I think you gave it angle parameter as well
For any loose indentation add
at top of your code.
Also, make sure that /dropoff code is inside OnPlayerCoommandText
pawn Код:
SetPlayerCheckpoint(playerid, 115,2699.4993,-2226.0491,10);
pawn Код:
#pragma tabsize 0
Also, make sure that /dropoff code is inside OnPlayerCoommandText
pawn Код:
public OnPlayerCommandText(playerid, cmdtext[])
{
if(strcmp(cmdtext, "/dropcar", true) == 0)
{
SendClientMessage(playerid, 0xFFFFFFFF, "{FF0000}SERVER: Drop The Car Off At The Checkpoint!");
SetPlayerCheckpoint(playerid, 115,2699.4993,-2226.0491,10);
return 1;
}
return 0;
}