new str[128];
new PR = PInfo[playerid][Rank];
format(str, 128, "Your Rank: %d: \"%s\"", PR, RankInfo[PR][RName]);
forum = TextDrawCreate(4.000000,435.000000,"Your Rank Is: %d: \"%s\"");
TextDrawFont(forum,3);
TextDrawColor(forum,0x33AA33AA);
TextDrawLetterSize(forum,0.599999,1.000000);
TextDrawSetOutline(forum,1);
TextDrawSetShadow(forum,1);
TextDrawSetProportional(forum,1);
TextDrawBackgroundColor(forum,0x000000ff);
forum = TextDrawCreate(4.000000,435.000000,str);
new str[128];
new PR = PInfo[playerid][Rank];
format(str, 128, "Your Rank: %d: \"%s\"", PR, RankInfo[PR][RName]);
TextDrawCreate(4.000000,435.000000,"Your Rank Is: %d: \"%s\""
TextDrawCreate(4.000000,435.000000,str);
|
Originally Posted by KnooL
pawn Код:
|
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);
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);
TextDrawShowForPlayer(playerid,forum);
|
Originally Posted by KnooL
OnPlayerConnect or When A Player Logins (/login):
pawn Код:
|