03.06.2010, 17:22
Guys, I started to make a [FS] which gives you points and money when you drift. I was wondering how can I make it so when you make a longer drift it gives more points and money.
I have another question too. Where is my error? I deleted everything from the file and started building it again. Is this the problem?
I tryed with "else" but it didn`t work again. I`m a new scripter..
I have another question too. Where is my error? I deleted everything from the file and started building it again. Is this the problem?
Quote:
D:\Games\GTA San Andreas\MyServer\filterscripts\BaFTa`s [FS].pwn(17) : error 021: symbol already defined: "GetPlayerFacingAngle" Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase 1 Error. |
pawn Код:
#include <a_samp>
#define COLOR_RED 0xCC0000AA
#define COLOR_GREY 0xAFAFAFAA
#define COLOR_GREEN 0x33AA33AA
#define COLOR_YELLOW 0xFFFF00AA
#define COLOR_WHITE 0xFFFFFFAA
#define COLOR_BLUE 0x0000BBAA
#define COLOR_ORANGE 0xFF9900AA
#define COLOR_PINK 0xFFC0CBAA
public OnPlayerCommandText (playerid, cmdtext[])
if (strcmp(cmdtext, "/drift", true) == 0)
GetPlayerVehicleID(playerid);
GetPlayerFacingAngle(playerid, Float:20);
SetPlayerScore(playerid, 1);
GivePlayerMoney(playerid, 200);