- 0
Problema :|
-
Similar Content
-
- 5 answers
- 83 views
-
- 6 answers
- 77 views
-
- 0 answers
- 78 views
-
- 0 replies
- 34 views
-
- 3 replies
- 75 views
-
-
Recently Browsing 0 members
- No registered users viewing this page.
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.
Question
PawnFox
[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 ?
94.23.120.101:7778
Link to comment
Share on other sites
1 answer to this question
Recommended Posts