Posts: 368
Threads: 21
Joined: Jan 2014
Quote:
Originally Posted by dominik523
I assume you are doing this under OnGameInit, if so, you will need to use foreach so you can set every player's textdraw.
pawn Код:
foreach(Player, i) { AButton[i] = CreatePlayerTextDraw(i,181 ,167 , "Army"); PlayerTextDrawBackgroundColor(i,AButton[i], 255); PlayerTextDrawFont(i,AButton[i], 1); PlayerTextDrawLetterSize(i,AButton[i], 1.500000, 1.500000); PlayerTextDrawColor(i,AButton[i], -1); PlayerTextDrawSetOutline(i,AButton[i], 0); PlayerTextDrawSetProportional(i,AButton[i], 1); PlayerTextDrawSetShadow(i,AButton[i], 1); }
|
yes i do it under GameModeInit. Now whenn i use ur:
Код:
C:\Users\Taha\Desktop\Modern Century Roleplay\gamemodes\mw2.pwn(88) : error 010: invalid function or declaration
I included foreach and all