Spawn MAX 3 Objects with MMB
#8

on top
new ObjectCount[MAX_PLAYERS];

OnPlayerSpawn
ObjectCount[playerid] = 0;

OnPlayerKeyStateChange
pawn Код:
if(PRESSED(KEY_LOOK_BEHIND))
{
    if(ObjectCount[playerid] < 4)
    {
        new Float:X,Float:Y,Float:Z;
        GetPlayerPos(playerid, X,Y,Z)
        CreateObject(...X,Y,Z...)
        ObjectCount[playerid] ++
    }
}
Reply


Messages In This Thread
Spawn MAX 3 Objects with MMB - by [RLG]Zepp - 09.10.2011, 12:49
Re: Spawn MAX 3 Objects with MMB - by TheLonelyBeast - 09.10.2011, 13:00
AW: Spawn MAX 3 Objects with MMB - by [RLG]Zepp - 09.10.2011, 13:45
AW: Spawn MAX 3 Objects with MMB - by [RLG]Zepp - 09.10.2011, 19:46
Re: Spawn MAX 3 Objects with MMB - by Donuts - 09.10.2011, 21:43
AW: Spawn MAX 3 Objects with MMB - by [RLG]Zepp - 10.10.2011, 09:21
AW: Spawn MAX 3 Objects with MMB - by [RLG]Zepp - 10.10.2011, 13:52
Re: Spawn MAX 3 Objects with MMB - by Dragony92 - 10.10.2011, 14:12
Re: Spawn MAX 3 Objects with MMB - by [RLG]Zepp - 12.10.2011, 11:54
Re: Spawn MAX 3 Objects with MMB - by [RLG]Zepp - 13.10.2011, 06:58

Forum Jump:


Users browsing this thread: 1 Guest(s)