[HELP] FS
#1

hi im try to use this fs but it will not work can any one tell me way thx for any help +REP for any help

Код:
C:\Users\Scott\Desktop\Utopia City FreeRoam\filterscripts\test.pwn(26) : error 010: invalid function or declaration
C:\Users\Scott\Desktop\Utopia City FreeRoam\filterscripts\test.pwn(28) : error 010: invalid function or declaration
C:\Users\Scott\Desktop\Utopia City FreeRoam\filterscripts\test.pwn(38) : error 010: invalid function or declaration
C:\Users\Scott\Desktop\Utopia City FreeRoam\filterscripts\test.pwn(40) : error 010: invalid function or declaration
C:\Users\Scott\Desktop\Utopia City FreeRoam\filterscripts\test.pwn(49) : error 010: invalid function or declaration
C:\Users\Scott\Desktop\Utopia City FreeRoam\filterscripts\test.pwn(99) : warning 203: symbol is never used: "IsRainbow"
Pawn compiler 3.2.3664	 	 	Copyright © 1997-2006, ITB CompuPhase


5 Errors.
pawn Код:
#include <a_samp>

new Timer1;
new Timer2;
new Timer3;
new Timer4;
new Timer5;
new Timer6;

new IsRainbow[MAX_PLAYERS];

forward Color1(playerid);
forward Color2(playerid);
forward Color3(playerid);
forward Color4(playerid);
forward Color5(playerid);
forward Color6(playerid);
forward Color7(playerid);


if(strcmp(cmdtext, "/rainbow", true)
{
    if(!IsPlayerInAnyVehicle(playerid))
    }
    KillTimer(Timer2);
    KillTimer(Timer3);
    KillTimer(Timer4);
    KillTimer(Timer5);
    KillTimer(Timer6);
    Timer1 = SetTimerEx("Color1",500,0,"d",playerid);
    SendClientMessage(playerid,-1,"Rainbow car started! Use /rainbowoff to stop!");
    IsRainbow[playerid] = 1;
    return 1;
}
if(strcmp(cmdtext, "/rainbowoff", true)
{
    KillTimer(Timer1);
    KillTimer(Timer2);
    KillTimer(Timer3);
    KillTimer(Timer4);
    KillTimer(Timer5);
    KillTimer(Timer6);
    SendClientMessage(playerid,-1,"You stopped the rainbow car!");
    return 1;
}

public Color1(playerid)
{
   new vehicleid = GetPlayerVehicleID(playerid);
   KillTimer(Timer1);
   ChangeVehicleColor(vehicleid,0,0);
   Timer2 = SetTimerEx("Color2",500,0,"d",playerid);
}

public Color2(playerid)
{
   new vehicleid = GetPlayerVehicleID(playerid);
   KillTimer(Timer2);
   ChangeVehicleColor(vehicleid,1,1);
   Timer3 = SetTimerEx("Color3",500,0,"d",playerid);
}

public Color3(playerid)
{
   new vehicleid = GetPlayerVehicleID(playerid);
   KillTimer(Timer3);
   ChangeVehicleColor(vehicleid,2,2);
   Timer4 = SetTimerEx("Color4",500,0,"d",playerid);
}

public Color4(playerid)
{
   new vehicleid = GetPlayerVehicleID(playerid);
   KillTimer(Timer4);
   ChangeVehicleColor(vehicleid,3,3);
   Timer5 = SetTimerEx("Color5",500,0,"d",playerid);
}

public Color5(playerid)
{
   new vehicleid = GetPlayerVehicleID(playerid);
   KillTimer(Timer5);
   ChangeVehicleColor(vehicleid,4,4);
   Timer6 = SetTimerEx("Color6",500,0,"d",playerid);
}

public Color6(playerid)
{
   new vehicleid = GetPlayerVehicleID(playerid);
   KillTimer(Timer6);
   ChangeVehicleColor(vehicleid,5,5);
   SetTimerEx("Color1",500,0,"d",playerid);
}
Reply


Messages In This Thread
[HELP] FS - by scottygraham1990 - 29.09.2012, 12:03
Re: [HELP] FS - by MechaTech - 29.09.2012, 12:03
Re: [HELP] FS - by scottygraham1990 - 29.09.2012, 12:17
Re: [HELP] FS - by scottygraham1990 - 29.09.2012, 12:42
Re: [HELP] FS - by ikbenremco - 29.09.2012, 12:43
Re: [HELP] FS - by scottygraham1990 - 29.09.2012, 12:45
Re: [HELP] FS - by RaZzZzoR - 29.09.2012, 12:47
Re: [HELP] FS - by ikbenremco - 29.09.2012, 12:47
Re: [HELP] FS - by xMCx - 29.09.2012, 12:49
Re: [HELP] FS - by scottygraham1990 - 29.09.2012, 12:54

Forum Jump:


Users browsing this thread: 1 Guest(s)