ADMINCAR!!!
#4

What'is error??

ADMINCAR SPAWNED:

Код:
CMD:admincar(playerid, params[])
{
    if(!IsPlayerLoggedIn(playerid)) return SendClientMessage(playerid, COLOR_RED, "No Logged!");
    if(!IsPlayerAdmin(playerid)) return SendClientMessage(playerid, COLOR_RED, "No admin");
    if(sscanf(params, "d", carid)) return SendClientMessage(playerid, COLOR_RED, "/adminkocsi [ Jбrmű ID ]");
    new Pos[3];
    new string[500];
    new carid[500];
    //tag misGetPlayerPos(playerid, Pos[0], Pos[1], Pos[2]);
    new admincar = CreateVehicle(carid, Pos[0], Pos[1], Pos[2], 180, 0, 0, -1, 0);
    SendClientMessage(playerid, COLOR_RED, "(( Spawned %s type car");
    format(string,sizeof(string),"(( Spawned Admin Car, ID: %d |  Name: %s | SA:MP Modell: %s ))", carid, RealName[modelid - 400], GameName[modelid - 400]);
	SendClientMessage(playerid,COLOR_WHITE,string);
    SetVehicleNumberPlate(admincar, "ADMIN");
}
Код:
warning 213: tag mismatch
error 035: argument type mismatch (argument 1)
error 017: undefined symbol "carid"

AND HOW TO DESTROY ADMIN CAR
Reply


Messages In This Thread
ADMINCAR!!! - by BrnX - 09.09.2017, 21:30
Re: ADMINCAR!!! - by JasonRiggs - 09.09.2017, 21:43
Re: ADMINCAR!!! - by BrnX - 09.09.2017, 21:53
Re: ADMINCAR!!! - by BrnX - 09.09.2017, 22:01
Re: ADMINCAR!!! - by Kane - 09.09.2017, 22:13
Re: ADMINCAR!!! - by BrnX - 09.09.2017, 22:27
Re: ADMINCAR!!! - by Kane - 09.09.2017, 22:30
Re: ADMINCAR!!! - by BrnX - 09.09.2017, 22:34

Forum Jump:


Users browsing this thread: 2 Guest(s)