13.09.2009, 21:15
hi, i try do a anti-db (drive by) script but for some reason when i compile show me a erro =S here my script
when i compile show this error
ChrisDM.pwn(397) : warning 213: tag mismatch
Код:
public OnPlayerKeyStateChange(playerid, newkeys, oldkeys) { new estado = GetPlayerState(playerid); if (IsPlayerInAnyVehicle(playerid) && estado == PLAYER_STATE_DRIVER) { if (newkeys == ((KEY_FIRE || KEY_ACTION) && (KEY_LOOK_RIGHT || KEY_LOOK_LEFT))) { new Float:x,Float:y, Float:z; GetPlayerPos(playerid,Float:x,Float:y, Float:z); SetPlayerPos(playerid,Float:x+10,Float:y+1, Float:z); SendClientMessage(playerid,0xcc3300ff,"DANGER: Remove From vehicule for Drive-By"); } } }
ChrisDM.pwn(397) : warning 213: tag mismatch