FS problem
#8

Quote:
Originally Posted by Tamer T
Посмотреть сообщение
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.
Reply


Messages In This Thread
FS problem - by Korthen - 31.12.2012, 15:33
Re: FS problem - by Shakie - 31.12.2012, 15:40
Re: FS problem - by Korthen - 31.12.2012, 15:43
Re: FS problem - by Korthen - 31.12.2012, 16:01
Re: FS problem - by Astralis - 31.12.2012, 16:24
Re: FS problem - by Tamer - 31.12.2012, 16:25
Re: FS problem - by Korthen - 31.12.2012, 16:38
Re: FS problem - by Korthen - 31.12.2012, 19:04
Re: FS problem - by Astralis - 31.12.2012, 19:13
Re: FS problem - by Korthen - 31.12.2012, 19:24

Forum Jump:


Users browsing this thread: 4 Guest(s)