need help with textdraw
#6

damn cant use playerid at onplayerconnect :S

Код:
C:\Users\kalvi\Desktop\sa-mp\gamemodes\kfsr2.pwn(1044) : error 021: symbol already defined: "str"
C:\Users\kalvi\Desktop\sa-mp\gamemodes\kfsr2.pwn(1045) : error 021: symbol already defined: "PR"
Pawn compiler 3.2.3664	 	 	Copyright © 1997-2006, ITB CompuPhase


2 Errors.
Код:
public OnPlayerConnect(playerid)
{
  new str[128];
  new PR = PInfo[playerid][Rank];
  format(str, 128, "Your Rank: %d: \"%s\"", PR, RankInfo[PR][RName]);
  TextDrawCreate(4.000000,435.000000,str);
  TextDrawFont(forum,3);
  TextDrawColor(forum,0x33AA33AA);
  TextDrawLetterSize(forum,0.599999,1.000000);
  TextDrawSetOutline(forum,1);
  TextDrawSetShadow(forum,1);
  TextDrawSetProportional(forum,1);
  TextDrawBackgroundColor(forum,0x000000ff);
Reply


Messages In This Thread
need help with textdraw - by rs2fun111 - 01.01.2010, 13:17
Re: need help with textdraw - by KnooL - 01.01.2010, 14:27
Re: need help with textdraw - by rs2fun111 - 01.01.2010, 14:39
Re: need help with textdraw - by KnooL - 01.01.2010, 14:47
Re: need help with textdraw - by WackoX - 01.01.2010, 14:47
Re: need help with textdraw - by rs2fun111 - 01.01.2010, 15:21
Re: need help with textdraw - by rs2fun111 - 01.01.2010, 15:45
Re: need help with textdraw - by KnooL - 10.01.2010, 11:06
Re: need help with textdraw - by Peep - 11.01.2010, 12:35

Forum Jump:


Users browsing this thread: 4 Guest(s)