Üdv
Van ez a teleport:
if(strcmp(cmdtext, \"/drift\",true)==0)
{
SetPlayerInterior(playerid,0);
{if(State!=PLAYER_STATE_DRIVER)
{SetPlayerPos(playerid,2434.9551,-1650.9041,13.5469);}
else if(IsPlayerInVehicle(playerid, cartype) == 1)
{SetVehiclePos(cartype,2434.9551,-1650.9041,13.5469);
SetVehicleZAngle(cartype,266.6323);}
else
{SetPlayerPos(playerid,2434.9551,-1650.9041,13.5469);}
GameTextForPlayer(playerid,\"Üdv drift 1-n\",2500,3);}
return 1;
}
És ezt a hibát irja ki:
error 017: undefined symbol \"State\"
error 017: undefined symbol \"cartype\"
error 017: undefined symbol \"cartype\"
error 017: undefined symbol \"cartype\"
Valaki tudja mi a problem?