Fuel System Help!
#1

I am trying to add a fuel system, and i get this following error:

C:\Users\Anoop\Desktop\samp03csvr_R2-2_win32\gamemodes\Server.pwn(417) : error 017: undefined symbol "td_fuel"
C:\Users\Anoop\Desktop\samp03csvr_R2-2_win32\gamemodes\Server.pwn(417) : warning 215: expression has no effect
C:\Users\Anoop\Desktop\samp03csvr_R2-2_win32\gamemodes\Server.pwn(417) : error 001: expected token: ";", but found "]"
C:\Users\Anoop\Desktop\samp03csvr_R2-2_win32\gamemodes\Server.pwn(417) : error 029: invalid expression, assumed zero
C:\Users\Anoop\Desktop\samp03csvr_R2-2_win32\gamemodes\Server.pwn(417) : fatal error 107: too many error messages on one line

This is what my Thing is..

pawn Код:
public OnPlayerSpawn(playerid)
{
    td_fuel[playerid] = TextDrawCreate(45,324,"Fuel: 100"); //create the textdraw at position
    TextDrawBackgroundColor(td_fuel[playerid],0x00000033); //setting an nice backgroundcolor
    TextDrawFont(td_fuel[playerid],3); //font type of textdraw
    TextDrawLetterSize(td_fuel[playerid],0.699999,1.700000); //size...
    TextDrawColor(td_fuel[playerid],0x000000ff); //color
    TextDrawSetShadow(td_fuel[playerid],3); //dropping the shadow
    return 1;
}
Line 417 is:
pawn Код:
td_fuel[playerid] = TextDrawCreate(45,324,"Fuel: 100"); //create the textdraw at position
anyone know whats wrong?
Reply


Messages In This Thread
Fuel System Help! - by kickflipdude - 30.03.2011, 14:15
Re: Fuel System Help! - by TeraN - 30.03.2011, 14:26
Re: Fuel System Help! - by xir - 30.03.2011, 14:27
Re: Fuel System Help! - by kickflipdude - 30.03.2011, 14:38
Re: Fuel System Help! - by xir - 30.03.2011, 14:42
Re: Fuel System Help! - by kickflipdude - 30.03.2011, 15:00
Re: Fuel System Help! - by xir - 30.03.2011, 15:02
Re: Fuel System Help! - by kickflipdude - 30.03.2011, 15:05
Re: Fuel System Help! - by kickflipdude - 30.03.2011, 15:06
Re: Fuel System Help! - by xir - 30.03.2011, 15:09

Forum Jump:


Users browsing this thread: 2 Guest(s)