31.12.2012, 19:04
Quote:
I don't know,but here is a command for you to use it on your gamemode maybe. It's Z_CMD,sets target id's skin
Код:
COMMAND:setskin(playerid,params[]) { new id; new skin; // if(PlayerInfo[playerid][pADMINVARNAME] < 4) return SendClientMessage(playerid,ORANGE,"You need to be an admin to use this command!"); if(skin > 299) return SendClientMessage(playerid,RED,"Invalid Skin Id"); if(sscanf(params, "ud",id,skin)) return SendClientMessage(playerid, RED, "Usage: /skin <ID> <skin> "); if(!IsPlayerConnected(id)) return SendClientMessage(playerid,GREY,"Invalid ID"); SetPlayerSkin(id,skin); return 1; } |
i got this error
C:\Users\vv\Desktop\skinselector.pwn(1) : warning 203: symbol is never used: "setskin"
C:\Users\vv\Desktop\skinselector.pwn(1 -- 12) : error 013: no entry point (no public functions)
Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase
1 Error.