Help me with this error
#2

Bro, So many errors, I fixed it for you, Rep+ me please
Main thing, Is you leaving space between if and the (
Remove it, I did it in this code
+ Who even still uses OnPlayerCommandText, Use ZCMD next time bro, Jeez!
Anyways there is the code
PHP код:
else if(!strcmp(type"maxhealth"true)) {
    new 
typeint;
    if(
sscanf(string"i"typeint)) return SendSyntaxMessage(playerid"/editcar [id] [maxhealth] [number]");
    if(
typeint 0) return SendErrorMessage(playerid"the specific type can't be below 0");
    
SetVehicleHealth(vehicleidtypeint);
    return 
1;

Al through, i did my best to fix, This might come to an error due to the fact if you want no errors, you will have to edit a lot, and i mean "alot" of codes to make it work properly, Just try this
Reply


Messages In This Thread
Help me with this error - by B3x7K - 05.09.2017, 13:53
Re: Help me with this error - by Arbico - 05.09.2017, 14:07
Re: Help me with this error - by Storm94 - 05.09.2017, 19:58
Re: Help me with this error - by B3x7K - 06.09.2017, 06:10
Re: Help me with this error - by B3x7K - 06.09.2017, 08:34
Re: Help me with this error - by crukk11 - 06.09.2017, 08:39
Re: Help me with this error - by B3x7K - 06.09.2017, 08:41
Re: Help me with this error - by JasonRiggs - 06.09.2017, 08:46
Re: Help me with this error - by B3x7K - 06.09.2017, 08:54
Re: Help me with this error - by JasonRiggs - 06.09.2017, 08:55

Forum Jump:


Users browsing this thread: 1 Guest(s)