Car respawn
#1

This is the code:

pawn Код:
CMD:rcars(playerid, params[])
{
    if(!IsPlayerAdmin(playerid))
    {
        SendClientMessage(playerid, COLOR_RED, "Only RCON Administrators can use this command");
        return 1;
    }
    else
    for(new i=1; i<MAX_VEHICLES; i++)
    {
       SetVehicleToRespawn(i);
       SendClientMessageToAll(playerid, COLOR_RED, "All unused vehicles have been respawned by an Administrator."); // ----------- line 1645
    }
    return 1;
}
Here are the errors:
Код:
C:\Users\user\Desktop\KM\pawno\KM.pwn(1645) : error 035: argument type mismatch (argument 2)
Pawn compiler 3.2.3664	 	 	Copyright © 1997-2006, ITB CompuPhase


1 Error.
Can anyone help?
Reply
#2

pawn Код:
SendClientMessageToAll(COLOR_RED, "All unused vehicles have been respawned by an Administrator.");
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)