Onplayertext
#1

heey all,
I made a weapondealer who can make a shop.
And if the player is in shop who want to buy gives money to the dealer but how can i do that?
Код:
if(armshop[playerid]==1)
		{
		if(IsPlayerConnected(GetPVarInt(playerid, "arm1")) && GetPVarType(playerid, "copTicket") != 0) {
        GivePlayerMoney(GetPVarInt(playerid, "arm1"), SkillPrice[playerid]);
        DeletePVar(playerid, "arm1");
    	}
		GivePlayerWeapon(playerid,33,1000);
		}
Its something with Setpvarint but at the command for shop i dont have another playerid(ID) only one playerid
Pls help
thanks admigo
Reply


Messages In This Thread
Onplayertext - by Admigo - 17.05.2011, 10:56
Re: Onplayertext - by Admigo - 17.05.2011, 11:02
Re: Onplayertext - by Admigo - 17.05.2011, 11:08

Forum Jump:


Users browsing this thread: 3 Guest(s)