I need help with error 010 on PAWNO!
#1

Код:
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!
Reply
#2

Код:
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;
}
Reply
#3

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;
}
Reply
#4

Oh Ok thnx Jefff and Ninad!
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)