if (strcmp(\"/setskin\", cmdtext, true) == 0)
{
if(PInfo[playerid][Level] < 2) return SendClientMessage(playerid,red,error);
{
new skinid;
if(sscanf(params, \"d\",skinid)) return SendClientMessage(playerid, 0x0ffff, \"Használat: /setskin SKINID\");
if(skinid > 299) return SendClientMessage(playerid, 0x0ffff, \"A skin id 0 és 299 jözött lehet\");
SetPlayerSkin(playerid, skinid);
new name[MAX_PLAYER_NAME];
GetPlayerName(playerid, name, sizeof(name));
new string[64];
format(string, sizeof(string), \"Átállítottad %s skinjét erre: %d\", name, skinid);
SendClientMessage(playerid, 0x0ffff, string);
}
return 1;
}
D:\\Trucking_Server_2.0\\gamemodes\\Truck.pwn(2439) : warning 217: loose indentation
D:\\Trucking_Server_2.0\\gamemodes\\Truck.pwn(2441) : error 017: undefined symbol \"params\"
D:\\Trucking_Server_2.0\\gamemodes\\Truck.pwn(2450) : warning 217: loose indentation
Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase
1 Error.
zcmd-be volt én probáltam átírni de nem sikerült pls segítsetek elöre is köszönöm