30.05.2013, 05:25
Ok, i don't see the error here. Was hoping you guys might know what's up with this
Код:
C:\Users\Jay\Desktop\FRP\gamemodes\FRP.pwn(4253) : error 036: empty statement Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase 1 Error.
Код:
new string[256]; new playername[MAX_PLAYER_NAME]; new Float:x, Float:y, Float:z; GetPlayerName(playerid, playername, sizeof(playername)); if(GetPlayerSurfingVehicleID(playerid) !=5);//Making sure they aren't surfing another vehicle. { GetPlayerPos(playerid, x, y, z); format(string, sizeof(string), "* %s loses %s grip and falls off the vehicle.",PlayerName(playerid),HisHer(playerid)); ProxDetector(30.0, playerid, string, COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE); SetPlayerPos(playerid, x+3, y+3, z+1); PlayerPlaySound(playerid, 1130, 0.0, 0.0, 0.0); }