JaneeK 2 Odesláno: 29. Prosinec, 2014 Share Odesláno: 29. Prosinec, 2014 Ahoj, prosím pomozte mi to opravit Děkuju: public PickupTP(playerid) { if(IsPlayerInRangeOfPoint(playerid, 1, 12.0070,-257.2916,5.4297)) { SendClientMessage(playerid, 0x0000FFFF,"Odwarpoval jsi se do Los Santos"); WarpPlayer(playerid, 2494.7429,-1667.5160,13.3438,93.3111,0); } else { if(IsPlayerInRangeOfPoint(playerid, 1, 12.0888,-244.8409,5.4297)) { SendClientMessage(playerid, 0x0000FFFF,"Odwarpoval jsi se do San Fiero"); WarpPlayer(playerid, -1979.0313,883.9550,45.2031,89.5489,0); } } else { if(IsPlayerInRangeOfPoint(playerid, 1, 12.1513,-232.6030,5.4297)) { SendClientMessage(playerid, 0x0000FFFF,"Odwarpoval jsi se do Las Venturas"); WarpPlayer(playerid, 2168.1653,1679.6931,10.8203,88.5087,0); } } return 1; } Error je to ten řádek na kterym je to druhý else (6904) : error 029: invalid expression, assumed zero Děkujuu Link to comment Share on other sites More sharing options...
0 ProGamer 5 Odesláno: 29. Prosinec, 2014 Share Odesláno: 29. Prosinec, 2014 public PickupTP(playerid) { if(IsPlayerInRangeOfPoint(playerid, 1, 12.0070,-257.2916,5.4297)) { SendClientMessage(playerid, 0x0000FFFF,"Odwarpoval jsi se do Los Santos"); WarpPlayer(playerid, 2494.7429,-1667.5160,13.3438,93.3111,0); } else if(IsPlayerInRangeOfPoint(playerid, 1, 12.0888,-244.8409,5.4297)) { SendClientMessage(playerid, 0x0000FFFF,"Odwarpoval jsi se do San Fiero"); WarpPlayer(playerid, -1979.0313,883.9550,45.2031,89.5489,0); } else if(IsPlayerInRangeOfPoint(playerid, 1, 12.1513,-232.6030,5.4297)) { SendClientMessage(playerid, 0x0000FFFF,"Odwarpoval jsi se do Las Venturas"); WarpPlayer(playerid, 2168.1653,1679.6931,10.8203,88.5087,0); } return 1; } Link to comment Share on other sites More sharing options...
0 JaneeK 2 Odesláno: 29. Prosinec, 2014 Author Share Odesláno: 29. Prosinec, 2014 Díky Link to comment Share on other sites More sharing options...
Dotaz
JaneeK 2
Ahoj, prosím pomozte mi to opravit Děkuju:
Error je to ten řádek na kterym je to druhý else
(6904) : error 029: invalid expression, assumed zero
Děkujuu
Link to comment
Share on other sites
2 odpovědí na tuto otázku
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now