{
new pname[24], string[128];
GetPlayerName(playerid, pname, sizeof(pname));
format(string, sizeof(string), "%s has gone to", cmdtext, pname);
Textdraw0 = TextDrawCreate(202.000000,4.000000, string);
TextDrawAlignment(Textdraw10,0);
TextDrawBackgroundColor(Textdraw10,0x000000ff);
TextDrawFont(Textdraw10,3);
TextDrawLetterSize(Textdraw10,0.399999,1.300000);
TextDrawColor(Textdraw10,0xff0000ff);
TextDrawSetOutline(Textdraw10,1);
TextDrawSetProportional(Textdraw10,1);
TextDrawSetShadow(Textdraw10,1);
}
C:\Documents and Settings\Christopher\Desktop\SA-MP Server\SA-MP Server Unreal Stuntages\Stunt City\gamemodes\UnrealStunages.pwn(1628) : warning 219: local variable "string" shadows a variable at a preceding level Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase 1 Warning.
format(string, sizeof(string), "%s has gone to %s", cmdtext, pname);
new string[128]
|
Originally Posted by [mad
MLK (sampx-hosting.co.cc) ]
? |
new pname[24]; GetPlayerName(playerid, pname, sizeof(pname)); format(string, sizeof(string), "%s has gone to %s", cmdtext, pname); Textdraw0 = TextDrawCreate(202.000000,4.000000, string); TextDrawAlignment(Textdraw10,0); TextDrawBackgroundColor(Textdraw10,0x000000ff); TextDrawFont(Textdraw10,3); TextDrawLetterSize(Textdraw10,0.399999,1.300000); TextDrawColor(Textdraw10,0xff0000ff); TextDrawSetOutline(Textdraw10,1); TextDrawSetProportional(Textdraw10,1); TextDrawSetShadow(Textdraw10,1);
|
Originally Posted by [mad
MLK (sampx-hosting.co.cc) ]
it dosent show up nothings there ; / |
if(PlayerInfo[playerid][pLevel]>3)
{