looking for a /spray or /carcolor
#4

Quote:
Originally Posted by skaTim
Посмотреть сообщение
Код:
COMMAND:color(playerid, params[])
{
    if(PlayerInfo[playerid][power] < 6) return SendClientError(playerid, CANT_USE_CMD);
    if(!IsPlayerInAnyVehicle(playerid)) return SendClientError(playerid, "Enter a vehicle first!");
	new iC, iCC;
	if(sscanf(params, "dd", iC, iCC)) return SCP(playerid, "[c1] [c2]");
	ChangeVehicleColor(GetPlayerVehicleID(playerid),iC,iCC);
	return 1;
}
hey i get this error
Код:
C:\Users\Joe\Desktop\new samp\gamemodes\dvdrift.pwn(2870) : error 017: undefined symbol "PlayerInfo"
C:\Users\Joe\Desktop\new samp\gamemodes\dvdrift.pwn(2870) : warning 215: expression has no effect
C:\Users\Joe\Desktop\new samp\gamemodes\dvdrift.pwn(2870) : error 001: expected token: ";", but found "]"
C:\Users\Joe\Desktop\new samp\gamemodes\dvdrift.pwn(2870) : error 029: invalid expression, assumed zero
C:\Users\Joe\Desktop\new samp\gamemodes\dvdrift.pwn(2870) : fatal error 107: too many error messages on one line
Reply


Messages In This Thread
looking for a /spray or /carcolor - by scottygraham1990 - 22.12.2011, 20:53
Re: looking for a /spray or /carcolor - by skaTim - 22.12.2011, 20:54
Re: looking for a /spray or /carcolor - by IceCube! - 22.12.2011, 20:57
Re: looking for a /spray or /carcolor - by scottygraham1990 - 22.12.2011, 20:58
Re: looking for a /spray or /carcolor - by skaTim - 22.12.2011, 21:02
Re: looking for a /spray or /carcolor - by scottygraham1990 - 22.12.2011, 21:02
Re: looking for a /spray or /carcolor - by IceCube! - 22.12.2011, 21:05
Re: looking for a /spray or /carcolor - by scottygraham1990 - 22.12.2011, 21:13
Re: looking for a /spray or /carcolor - by [ABK]Antonio - 22.12.2011, 21:16
Re: looking for a /spray or /carcolor - by [ABK]Antonio - 22.12.2011, 22:17

Forum Jump:


Users browsing this thread: 2 Guest(s)