#1

I have little problem!

PHP код:
    if (strcmp("/skatepark"cmdtexttrue10) == 0)
    {
         new 
VehidVehmodel;
         
Vehid GetPlayerVehicleID(playerid);
         
Vehmodel GetVehicleModel(Vehid);
         if(
Vehmodel == 571)
         {
         
SendClientMessage(playerid0xAA3333AA"Sk8park!");
         return 
1;
         }
         else if (
IsPlayerInAnyVehicle(playerid))
         {
         
SetVehiclePos(GetPlayerVehicleID(playerid), 1887.5681, -1389.860613.5703);
         
SetVehicleZAngle(GetPlayerVehicleID(playerid), 87.9845);
         
SetPlayerInterior(playerid0);
         }
         else if (!
IsPlayerInAnyVehicle(playerid))
         {
        
SetPlayerPos(playerid1887.5681, -1389.860613.5703);
        
SetPlayerFacingAngle(playerid87.9845);
        
SetPlayerInterior(playerid0);
        }
        return 
1// this line i get "warning 217: loose indentation"
}
    return 
0;
    } 
Reply


Messages In This Thread
Help - by dewilix - 14.07.2010, 17:05
Re: Help - by ikey07 - 14.07.2010, 17:10
Re: Help - by dewilix - 14.07.2010, 17:19
Re: Help - by MikkelGutten - 14.07.2010, 17:24
Re: Help - by Jeffry - 14.07.2010, 17:29
Re: Help - by dewilix - 14.07.2010, 17:33
Re: Help - by Jeffry - 14.07.2010, 17:37

Forum Jump:


Users browsing this thread: 2 Guest(s)