Dobrý den jak udělám aby se mi neprohazovali věci ?
//-----------------
if (strcmp("/a1", cmdtext, true, 10) == 0)
{
SetPlayerCheckpoint(playerid, 2185.0149,1311.8041,10.6719, 3.0); // [size=5]TADY SE VYTVOŘI CHECKPOINT[/size]
return 1;
public OnPlayerEnterCheckpoint(playerid)
{
CreateVehicle(525, 1982.6150, -221.0145, -0.2432, 82.2873, -1, -1, 60000);
DisablePlayerCheckpoint(playerid);
SetPlayerCheckpoint(playerid, -1973.7457,290.5065,35.1719, 3.0);
DisablePlayerCheckpoint(playerid);
GameTextForPlayer(playerid, "~g~Odmena~n~~w~12599$", 3000, 0);
GivePlayerMoney(playerid,12599);
Testoval jsem to a když sem napsal /a1 ukazal se cp šel jsem do CP ale najednou sem dostal odměnu místo toho aby se mi spawlo auto a jel do druheho cp