30.07.2011, 05:16
Код:
C:\Documents and Settings\Prabhat\Desktop\World Stunting V1.3.5\pawno\include\streamer.inc(449) : warning 202: number of arguments does not match definition C:\DOCUME~1\Prabhat\Desktop\lvdm.pwn(714) : warning 219: local variable "string" shadows a variable at a preceding level
pawn Код:
if (strcmp("/bdesert", cmdtext, true, 10) == 0)
{
new string[60];
new pName[MAX_PLAYER_NAME];
DynUpdateStart(playerid);
SetPlayerPos(playerid,3910.0881,393.6967,2.2406);
SetPlayerFacingAngle(playerid, 177.6544);
GetPlayerName(playerid, pName, sizeof(pName));
format(string, sizeof(string), "TELE: %s has teleported to billionaire (/bdesert) ", pName);
SendClientMessageToAll(COLOR_CYAN, string);
return 1;
}