Stats in textdraws - targetid help
#21

What about creating textdraws ?
Reply
#22

Quote:
Originally Posted by Saddin
Посмотреть сообщение
What about creating textdraws ?
Oh yea, forgot.
pawn Код:
//OnPlayerConnect(playerid...
StatsTacke[playerid]=CreatePlayerTextDraw(playerid,Float:x,Float:y,text[]);
//and others same as this...
StatsLevel[playerid]=CreatePlayerTextDraw(playerid,Float:x,Float:y,text[]);
//etc.
Float: x,y, text[] replace with coordinates/text u used for them as normal TextDraws(I believe they are created in OnGameModeInit)
Reply
#23

Oh God, I'm getting this errors:


Код:
C:\Documents and Settings\USER\Desktop\WOB\gamemodes\balkanmania.pwn(17154) : warning 215: expression has no effect
C:\Documents and Settings\USER\Desktop\WOB\gamemodes\balkanmania.pwn(17155) : error 017: undefined symbol "strl"
C:\Documents and Settings\USER\Desktop\WOB\gamemodes\balkanmania.pwn(17157) : error 017: undefined symbol "PlayerTextDrawSetString"
C:\Documents and Settings\USER\Desktop\WOB\gamemodes\balkanmania.pwn(17158) : error 017: undefined symbol "PlayerTextDrawShow"
C:\Documents and Settings\USER\Desktop\WOB\gamemodes\balkanmania.pwn(17161) : error 017: undefined symbol "PlayerTextDrawSetString"
C:\Documents and Settings\USER\Desktop\WOB\gamemodes\balkanmania.pwn(17162) : error 017: undefined symbol "PlayerTextDrawShow"
C:\Documents and Settings\USER\Desktop\WOB\gamemodes\balkanmania.pwn(17167) : error 017: undefined symbol "PlayerTextDrawSetString"
C:\Documents and Settings\USER\Desktop\WOB\gamemodes\balkanmania.pwn(17168) : error 017: undefined symbol "PlayerTextDrawShow"
C:\Documents and Settings\USER\Desktop\WOB\gamemodes\balkanmania.pwn(17171) : error 017: undefined symbol "PlayerTextDrawSetString"
C:\Documents and Settings\USER\Desktop\WOB\gamemodes\balkanmania.pwn(17172) : error 017: undefined symbol "PlayerTextDrawShow"
C:\Documents and Settings\USER\Desktop\WOB\gamemodes\balkanmania.pwn(17175) : error 017: undefined symbol "PlayerTextDrawSetString"
C:\Documents and Settings\USER\Desktop\WOB\gamemodes\balkanmania.pwn(17176) : error 017: undefined symbol "PlayerTextDrawShow"
C:\Documents and Settings\USER\Desktop\WOB\gamemodes\balkanmania.pwn(17179) : error 017: undefined symbol "PlayerTextDrawSetString"
C:\Documents and Settings\USER\Desktop\WOB\gamemodes\balkanmania.pwn(17180) : error 017: undefined symbol "PlayerTextDrawShow"
C:\Documents and Settings\USER\Desktop\WOB\gamemodes\balkanmania.pwn(17183) : error 017: undefined symbol "PlayerTextDrawSetString"
C:\Documents and Settings\USER\Desktop\WOB\gamemodes\balkanmania.pwn(17184) : error 017: undefined symbol "PlayerTextDrawShow"
Reply
#24

It says: Undefined CreatePlayerTextdraw, ... and others PlayerTextDrawShow, please help.
Reply
#25

strl change to str.
CreatePlayerTextdraw, PlayerTextDrawSetString, PlayerTextDrawShow are native SA-MP 0.3e functions. Are you sure you have SA-MP 0.3e?
Reply
#26

Yes, I'm sure.
Reply
#27

I change some of includes and other files to newest 0.3e and now getting this erros:
Код:
: warning 219: local variable "count" shadows a variable at a preceding level
: error 035: argument type mismatch (argument 3)
: error 035: argument type mismatch (argument 1)
: error 035: argument type mismatch (argument 1)
: error 035: argument type mismatch (argument 1)
: error 035: argument type mismatch (argument 1)
: error 035: argument type mismatch (argument 1)
: error 035: argument type mismatch (argument 1)
: error 035: argument type mismatch (argument 1)
 : error 035: argument type mismatch (argument 3)
: error 035: argument type mismatch (argument 1)
: error 035: argument type mismatch (argument 1)
 : error 035: argument type mismatch (argument 1)
 : error 035: argument type mismatch (argument 1)
: error 035: argument type mismatch (argument 1)
: error 035: argument type mismatch (argument 1)
: error 035: argument type mismatch (argument 3)
 : error 035: argument type mismatch (argument 1)
: error 035: argument type mismatch (argument 1)
 : error 035: argument type mismatch (argument 1)
 : error 035: argument type mismatch (argument 1)
 : error 035: argument type mismatch (argument 1)
: error 035: argument type mismatch (argument 1)
 : error 035: argument type mismatch (argument 3)
 : error 035: argument type mismatch (argument 1)
Reply


Forum Jump:


Users browsing this thread: 3 Guest(s)