error 035: argument type mismatch (argument 2)
#1

Please repair eror and warnings

link : http://pastebin.com/m369f912e



sorry my bad english


Reply
#2

pawn Код:
if (strcmp(cmdtext, "/flip", true)==0)
    {
        new VehicleID, Float:x, Float:y, Float:z;
        GetPlayerPos(playerid, x, y, z);
        VehicleID = GetPlayerVehicleID(playerid);
        SetVehiclePos(VehicleID, x, y, z);
        SetVehicleZAngle(VehicleID, 0);
        SendClientMessage(playerid, COLOR_LIGHTBLUE,"That's better.. Vehicle Fliped!");
        return 1;
    }
Because lower-case x, y and z are not defined on a preceding level (upper case X, Y, and Z were)
Reply
#3

[21:24:04] Script[gamemodes/truck.amx]: Run time error 20: "Invalid index parameter (bad entry point)"
[21:24:14] --- Server Shutting Down.
[21:24:14]


Please repair
Reply
#4

You don't have the function main in the script.

pawn Код:
main()
{
}
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)