/skin command
#1

Код:
if(strcmp(cmd, "/skin", true) == 0) {
	SendClientMessage(playerid, COLOR_RED, "USAGE: /skin [id]");
	SendClientMessage(playerid, COLOR_RED, "COST: $20000");
	    if(GetPlayerMoney(playerid) <20000)
	    return SendClientMessage(playerid, COLOR_RED, "ERRO: You don't have enough money to change your skin.");
	    // Checks if the player has enough money to change its skin ; Gives a message erro if doens't
	    GivePlayerMoney(playerid, -20000);
	    SetPlayerSkin(playerid,id);
	    return 1;
		}
Can anybody make this command the right way? I made it.. but im having a hard time fixing it.. Im a beginner at scripting :P
Reply


Messages In This Thread
/skin command - by Arthur_K - 02.08.2012, 04:27
Re: /skin command - by [MM]RoXoR[FS] - 02.08.2012, 04:58
Re: /skin command - by [KHK]Khalid - 02.08.2012, 05:02
Re: /skin command - by Arthur_K - 02.08.2012, 05:02
Respuesta: Re: /skin command - by HarlemSAMP - 02.08.2012, 05:03
Re: /skin command - by Arthur_K - 02.08.2012, 05:04
Re: /skin command - by [MM]RoXoR[FS] - 02.08.2012, 05:13

Forum Jump:


Users browsing this thread: 2 Guest(s)