Be a cop [HELP]
#1

Oky.. i need to finish this -->

I am newbie so i dont know lot of PAWNO but i am learning.

I got this:

Код:
	if (strcmp("/beacop", cmdtext, true, 10) == 0)
	{
    new pName[MAX_PLAYER_NAME];
    new string[48];
    GetPlayerName(playerid, pName, sizeof(pName));
    format(string, sizeof(string), "**%s : Takes Hes Shirt and wears it!", pName);
    SendClientMessageToAll(0xAAAAAAAA, string);
	  LimitGlobalChatRadius(30);
		SetPlayerSkin( playerid, 71 );
		return 1;
	}
When he do this cmd player freeze... he gets the skin.. then after like 2 secs he gets skin 281 ... i dont know how to put thes together -->

Код:
    new pName[MAX_PLAYER_NAME];
    new string[48];
    GetPlayerName(playerid, pName, sizeof(pName));
    format(string, sizeof(string), "**%s : Puts hes uniform on!", pName);
    SendClientMessageToAll(0xAAAAAAAA, string);
	  LimitGlobalChatRadius(30);
		SetPlayerSkin( playerid, 281 );
EDIT: And is it possable to do this cmd for a player who got example: NAME_NAME[C] so the cmd can done thos who got [C] at end of name!
p.s i did start PAWNO yesterday so i am new!
Reply
#2

Any one?
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)