hello please help me -
The_Cobra - 11.02.2010
hey all
look i want to add in Y_race gametextfroplayer this
GameTextForPlayer(playerid, "Race Started Type /Join", 1500, 1);
here:
public startrace()
{
GameTextForPlayer(playerid, "Race Started Type /Join", 1500, 1);
format(ystring,128,"Race \'%s\' Has Started, type /join to join Race!",CRaceName);
SendClientMessageToAll(COLOR_YELLOW,ystring);
if(Racemode == 0) format(ystring,sizeof(ystring),"default");
else if(Racemode == 1) format(ystring,sizeof(ystring),"ring");
else if(Racemode == 2) format(ystring,sizeof(ystring),"yoyo");
else if(Racemode == 3) format(ystring,sizeof(ystring),"mirror");
format(ystring,sizeof(ystring),"Racemode: %s Laps: %d",ystring,Racelaps);
if(PrizeMode >= 2) format(ystring,sizeof(ystring),"%s Join fee: %d",ystring,JoinFee);
if(Airrace == 1) format(ystring,sizeof(ystring),"%s AIR RACE",ystring);
if(Racemode == 0 || Racemode == 3) format(ystring,sizeof(ystring),"%s Track lenght: %0.2fkm", ystring, RLenght/1000);
else if(Racemode == 1) format(ystring,sizeof(ystring),"%s Lap lenght: %.2fkm, Total: %.2fkm", ystring, LLenght/1000, LLenght * Racelaps / 1000);
SendClientMessageToAll(COLOR_GREEN,ystring);
RaceStart=0;
RaceActive=1;
ScoreChange=0;
Ranking=1;
PrizeMP=3;
}
but it's give error:
C:\Documents and Settings\Black_Cobra\Desktop\filterscripts\Y_Race. pwn(1767) : error 017: undefined symbol "playerid"
Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase
1 Error.
Re: hello please help me -
Darkly_Face - 11.02.2010
So undefined symbol "playerid"!
on game mode or /fs top do like this:
im not so good scripter but try it!
Re: hello please help me -
Fj0rtizFredde - 11.02.2010
You could create a loop

I dont know if that would be the best

(if not just add the playerid to the public and the forward) :P or you could change it to GameTextForAll then you dont need playerid .P
Re: hello please help me -
GforceNL - 11.02.2010
Код:
You have: 'public startrace()'
Maybe you should Try: public startrace(playerid)
Re: hello please help me -
Darkly_Face - 11.02.2010
yea yea i know that
Re: hello please help me -
The_Cobra - 11.02.2010
thank you guys
but very very thank's GforceNL it's now work

Re: hello please help me -
Darkly_Face - 11.02.2010
Plz help me!
http://forum.sa-mp.com/index.php?topic=152168.0
I need help!