11.09.2009, 20:59
C:\Users\*****\Desktop\samp\Chrham's RPG\samp02Xserver.win32\gamemodes\mtrp-final.pwn(2853
: warning 217: loose indentation
C:\Users\*****\Desktop\samp\Chrham's RPG\samp02Xserver.win32\gamemodes\mtrp-final.pwn(28540) : warning 219: local variable "string" shadows a variable at a preceding level
C:\Users\*****\Desktop\samp\Chrham's RPG\samp02Xserver.win32\gamemodes\mtrp-final.pwn(28541) : warning 217: loose indentation
C:\Users\*****\Desktop\samp\Chrham's RPG\samp02Xserver.win32\gamemodes\mtrp-final.pwn(28546) : warning 217: loose indentation
Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase
4 warnings.
Source:
if(strcmp(cmdtext,"/coords",true) == 0)
{
new string[128], Float:X, Float:Y, Float:Z;
GetPlayerPos(playerid, X, Y, Z);
format(string, sizeof(string), "Co-ordinates: %f, %f, %f", X, Y, Z);
SendClientMessage(playerid, 0xFF00FFFF, string);
return 1;
![Cool](images/smilies/cool.gif)
C:\Users\*****\Desktop\samp\Chrham's RPG\samp02Xserver.win32\gamemodes\mtrp-final.pwn(28540) : warning 219: local variable "string" shadows a variable at a preceding level
C:\Users\*****\Desktop\samp\Chrham's RPG\samp02Xserver.win32\gamemodes\mtrp-final.pwn(28541) : warning 217: loose indentation
C:\Users\*****\Desktop\samp\Chrham's RPG\samp02Xserver.win32\gamemodes\mtrp-final.pwn(28546) : warning 217: loose indentation
Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase
4 warnings.
Source:
if(strcmp(cmdtext,"/coords",true) == 0)
{
new string[128], Float:X, Float:Y, Float:Z;
GetPlayerPos(playerid, X, Y, Z);
format(string, sizeof(string), "Co-ordinates: %f, %f, %f", X, Y, Z);
SendClientMessage(playerid, 0xFF00FFFF, string);
return 1;