Jump to content

Question

Posted

Cand bag asta

if(strcmp(cmd, "/respawnvehicles", true) == 0)
    {
        if (PlayerInfo[playerid][pAdmin] >= 5)
        {
            for(new i=0;i<MAX_VEHICLES;i++)
            {
                if(IsVehicleOccupied(i) == 0)
                {
                    SetVehicleToRespawn(i);
                }
            }
            format(string, sizeof(string), "[INFO:] Unoccupied vehicles respawned by %s.", GetPlayerNameEx(playerid));
            SendClientMessageToAll(COLOR_ADMINCMD, string);
        }
        else
        {
            SendClientMessage(playerid, COLOR_LIGHTYELLOW2, "Your not an administrator.");
        }
        return 1;
    }
imi da eroare asta
E:\games\sa-mp\cls\CLSREL~1.5FI\GAMEMO~1\jasons13.pwn(8454) : error 010: invalid function or declaration
E:\games\sa-mp\cls\CLSREL~1.5FI\GAMEMO~1\jasons13.pwn(8456) : error 010: invalid function or declaration
E:\games\sa-mp\cls\CLSREL~1.5FI\GAMEMO~1\jasons13.pwn(8458) : error 010: invalid function or declaration
E:\games\sa-mp\cls\CLSREL~1.5FI\GAMEMO~1\jasons13.pwn(8460) : error 010: invalid function or declaration
E:\games\sa-mp\cls\CLSREL~1.5FI\GAMEMO~1\jasons13.pwn(8468) : error 010: invalid function or declaration
E:\games\sa-mp\cls\CLSREL~1.5FI\GAMEMO~1\jasons13.pwn(8472) : error 010: invalid function or declaration
Pawn compiler 3.2.3664	 	 	Copyright (c) 1997-2006, ITB CompuPhase


6 Errors.

de ce?:D

www.uifserver.net

2 answers to this question

Recommended Posts

Posted

cares liniile,stiu ca aia e comanda dar zine ce e la linia aia,la linia aia ce e....etc...fa asa:

linia cutare: public OnPlayerConnect(playerid)

linia cutare : {

linia cutare: Ban(playerid);

ma intelegi tu...

u78ch.jpg

CHECK MY CHANNEL!

http://www.youtube.com/user/amysoica

Guest
This topic is now closed to further replies.
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue. For more details you can also review our Terms of Use and Privacy Policy.