Quantcast
Channel: SA-MP Forums
Viewing all articles
Browse latest Browse all 18226

error 029: invalid expression, assumed zero

$
0
0
How to fix this!?!

PHP Code:

error 029invalid expressionassumed zero 

PHP Code:

public OnPlayerKeyStateChange(playeridnewkeysoldkeys)
{
    if(
PRESSED(KEY_LOOK_BEHIND))
    
GetPlayerState(playerid);
    {
        if(
GetPlayerState(playerid) != PLAYER_STATE_DRIVER))
        {
            if(
GetPlayerMoney(playerid) <500) return SendClientMessage(playerid,0xAA3333AA"Sorry, you dont have the money. [Cost 500$]!");
            
SendClientMessage(playerid,0xAA3333AA"[Reparied]:Your vehicle health is now 100%.");
            
GivePlayerMoney(playerid,-500);
               
RepairVehicle(GetPlayerVehicleID(playerid));
               
SetVehicleHealth(playerid100);
        }
        if(
GetPlayerState(playerid) != PLAYER_STATE_ONFOOT))
        {
            
PutPlayerInVehicle(playeridInfernus[7], 0);
            
SendClientMessage(playeridGrey"You have been Respawned.");
        }
    }
    return 
1;



Viewing all articles
Browse latest Browse all 18226

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>