- 0
warning 225: unreachable code
-
Similar Content
-
- 0 replies
- 165 views
-
- 2 replies
- 3,634 views
-
- 4 replies
- 278 views
-
- 2 answers
- 494 views
-
- 2 replies
- 549 views
-
-
Recently Browsing 0 members
- No registered users viewing this page.
Question
Eclari
Codul este:
public OnPlayerDisconnect(playerid, reason)
{
KillTimer(E@_Timer[playerid]);
return CallLocalFunction("E@_OnPlayerDisconnect", "id", playerid, reason);
if(RentVehicle[playerid] != INVALID_VEHICLE_ID) {
DestroyVehicle(RentVehicle[playerid]);
RentTimer[playerid] = 0;
RentVehicle[playerid] = INVALID_VEHICLE_ID;
}
playersOn[playerid] --;
return 1;
}
warning 225: unreachable code, linia la care imi spune ca este eroarea este: if(RentVehicle[playerid] != INVALID_VEHICLE_ID) {
Link to comment
Share on other sites
7 answers to this question
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.