Quote:
| 
					Originally Posted by Kush  
PHP код: 
CMD:get(playerid,params[]) {
new
 id,
 plname[MAX_PLAYER_NAME],
 idname[MAX_PLAYER_NAME];
 if ( GetPVarInt( playerid, "Level" ) == 0 )return SendClientMessage(playerid, 0xFF0000FF, "Only admin 1-3 can use this command!!");
 if(sscanf(params,"u",id)) return SendClientMessage(playerid,COLOR_YELLOW,"Correct Usage:/get [ID]");
 if(id == INVALID_PLAYER_ID) return SendClientMessage(playerid,COLOR_RED,"Player ID Doesn't Exist");
 {
 new Float:X, Float:Y, Float:Z;
 //GetPlayerName(playerid,plname,sizeof(plname));
 //GetPlayerName(id,idname,sizeof(idname));
 GetPlayerPos(playerid, X, Y, Z);
 SetPlayerPos(id, X, Y, Z);
 } return 1;
 }
 
 | 
 Thanks, but it just gives me warnings to.
pawn Код:
warning 204: symbol is assigned a value that is never used: "idname"
 warning 204: symbol is assigned a value that is never used: "plname"