SA-MP Forums Archive
I need help with error 010 on PAWNO! - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: I need help with error 010 on PAWNO! (/showthread.php?tid=477920)



I need help with error 010 on PAWNO! - MoeSal - 27.11.2013

Код:
C:\Users\Scripting!\Desktop\High Speed Drivers\filterscripts\vehsistem.pwn(1336) : error 010: invalid function or declaration
C:\Users\Scripting!\Desktop\High Speed Drivers\filterscripts\vehsistem.pwn(1347) : error 010: invalid function or declaration
C:\Users\Scripting!\Desktop\High Speed Drivers\filterscripts\vehsistem.pwn(1349) : error 010: invalid function or declaration
Pawn compiler 3.2.3664	 	 	Copyright © 1997-2006, ITB CompuPhase


3 Errors.
Код:
     if(!strcmp(cmdtext, "/vcmds"))
     {
        SendClientMessage(playerid, 0xFFFFFFFF, "These are the vehicle cmds
	/newbuycar [carid] [color1] [color2] [Price] you need to be a logged in as a rcon admin
/sellveh [Price] - you need to be logged in as a rcon admin, adn in a personal car - will make the vehicle for sale
/buyveh - to Buy the Specific Vehicle - you need to be in a buyable car
/removeveh - Delete Vehicle (You must sit in the Specific Vehicle) and you need to be logged in as a rcon admin
/v locate - use this command to find your car
/v lockmycar - lock your car
/v unlockmycar - unlock's your car
/v park - to park your car");
        return 1;
     }
     return 0;
}
Thnx to all tht helped!


Re: I need help with error 010 on PAWNO! - Ninad - 27.11.2013

Код:
if(!strcmp(cmdtext, "/vcmds"))
     {
        SendClientMessage(playerid, 0xFFFFFFFF, "These are the vehicle cmds
        /newbuycar [carid] [color1] [color2] [Price] you need to be a logged in as a rcon admin
        /sellveh [Price] - you need to be logged in as a rcon admin, adn in a personal car - will make the vehicle for sale
        /buyveh - to Buy the Specific Vehicle - you need to be in a buyable car
        /removeveh - Delete Vehicle (You must sit in the Specific Vehicle) and you need to be logged in as a rcon admin
        /v locate - use this command to find your car
        /v lockmycar - lock your car
        /v unlockmycar - unlock's your car
        /v park - to park your car");
        return 1;
     }
     return 0;
}



Re: I need help with error 010 on PAWNO! - Jefff - 27.11.2013

You can show only 144 characters in single SendClientMessage

pawn Код:
if(!strcmp(cmdtext, "/vcmds"))
    {
        SendClientMessage(playerid, 0xFFFFFF00, "These are the vehicle cmds:");
        SendClientMessage(playerid, 0xFFFFFF00, "/newbuycar [carid] [color1] [color2] [Price] you need to be a logged in as a rcon admin");
        SendClientMessage(playerid, 0xFFFFFF00, "/sellveh [Price] - you need to be logged in as a rcon admin, adn in a personal car - will make the vehicle for sale");
        SendClientMessage(playerid, 0xFFFFFF00, "/buyveh - to Buy the Specific Vehicle - you need to be in a buyable car");
        SendClientMessage(playerid, 0xFFFFFF00, "/removeveh - Delete Vehicle (You must sit in the Specific Vehicle) and you need to be logged in as a rcon admin");
        SendClientMessage(playerid, 0xFFFFFF00, "/v locate - use this command to find your car");
        SendClientMessage(playerid, 0xFFFFFF00, "/v lockmycar - lock your car");
        SendClientMessage(playerid, 0xFFFFFF00, "/v unlockmycar - unlock's your car");
        SendClientMessage(playerid, 0xFFFFFF00, "/v park - to park your car");
        return 1;
    }
    return 0;
}



Re: I need help with error 010 on PAWNO! - MoeSal - 27.11.2013

Oh Ok thnx Jefff and Ninad!