#1

Hey SA-MP.com, I need to define this:
pawn Код:
Game3TextForPlayer( playerid, "~h~~r~ERROR!: ~y~You can't use commands in a Race! Use /leave to leave the curent race!" );
With this linie:
pawn Код:
#define Game3TextForPlayer            GameTextForPlayer
But I have an warning:
pawn Код:
warning 202: number of arguments does not match definition
What's wrong..
Reply
#2

Try this one:

Код HTML:
Game3TextForPlayer(playerid, "~h~~r~ERROR!: ~y~You can't use commands in a Race! Use /leave to leave the curent race!",3000, 3);
You must add the time (in miliseconds) and the type of GameText at the end...
Reply
#3

Quote:
Originally Posted by Dragonsaurus
Посмотреть сообщение
Try this one:

Код HTML:
Game3TextForPlayer(playerid, "~h~~r~ERROR!: ~y~You can't use commands in a Race! Use /leave to leave the curent race!",3000, 3);
You must add the time (in miliseconds) and the type of GameText at the end...
Don't work, i must define Game3TextForPLayer.
Reply
#4

You're missing parameters.
Код:
GameTextForPlayer(playerid, const string[], time, style)
For example
pawn Код:
Game3TextForPlayer( playerid, "~h~~r~ERROR!: ~y~You can't use commands in a Race! Use /leave to leave the curent race!",2000,6 );
That will display for 2 seconds and with Stype 6.
Wiki Page
Reply
#5

Quote:
Originally Posted by DaRk_RaiN
Посмотреть сообщение
You're missing parameters.
Код:
GameTextForPlayer(playerid, const string[], time, style)
For example
pawn Код:
Game3TextForPlayer( playerid, "~h~~r~ERROR!: ~y~You can't use commands in a Race! Use /leave to leave the curent race!",2000,6 );
That will display for 2 seconds and with Stype 6.
Wiki Page
Ohh man Thanks a lot :*
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)