Jump to content
  • 0

Problema :|


PawnFox

Question

[pawn]

new cp1;

public OnPlayerSpawn(playerid)

{

    cp1 = CreateDynamicCP(2202.8601,2474.3672,10.8203, 6, -1, -1, -1, 100);

    return 1;

}

public OnPlayerEnterDynamicCP(playerid, checkpointid)

{

    if(checkpointid == cp1)

    {

    if(IsPlayerInAnyVehicle(playerid))

{

if(GetPlayerState(playerid) == PLAYER_STATE_PASSENGER)

{

SendError(playerid, "You must be driver to use this feature");

return 1;

}

// aici arata un dialog ...

}

else

{

  SendError(playerid, "You must drive a car to use this feature");

}

}

return 1;

}

[/pawn]

Am o problema : Cand sunt singur pe server si intru in CP merge , dar cand mai intra inca cineva pe server ,nu-mi mai merge nici lui si nici mie.

Imi puteti spune care este problema ?

communitylogosml.png

94.23.120.101:7778

Link to comment
Share on other sites

1 answer to this question

Recommended Posts

Guest
This topic is now closed to further replies.
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue. For more details you can also review our Terms of Use and Privacy Policy.