Pickups
#5

pawn Код:
CMD:createbiz(playerid, params[])
{
    new Float:pos[3], inter;
    if(sscanf(params,"i",inter)) return SendClientMessage(playerid, -1, "USAGE: /createbiz");
    GetPlayerPos(playerid, pos[0], pos[1], pos[2]);
    for(new i = 0; i < sizeof(BizInfo);i++)
    {
        BizInfo[i][enterx] = pos[0];
        BizInfo[i][entery] = pos[1];
        BizInfo[i][enterz] = pos[2];
        BizInfo[i][intera] = inter;
        BizInfo[i][pickup] = CreatePickup(1274, 1, BizInfo[i][enterx], BizInfo[i][entery], BizInfo[i][enterz], 0);
    }
    return 1;
}
Reply


Messages In This Thread
Pickups - by thefatshizms - 24.11.2012, 12:25
Re: Pickups - by park4bmx - 24.11.2012, 12:28
Re: Pickups - by thefatshizms - 24.11.2012, 12:29
Re: Pickups - by park4bmx - 24.11.2012, 12:31
Re: Pickups - by thefatshizms - 24.11.2012, 12:35
Re: Pickups - by park4bmx - 24.11.2012, 12:48
Re: Pickups - by thefatshizms - 24.11.2012, 12:50
Re: Pickups - by Tamer - 24.11.2012, 12:53
Re: Pickups - by thefatshizms - 24.11.2012, 12:54
Re: Pickups - by Tamer - 24.11.2012, 12:59

Forum Jump:


Users browsing this thread: 2 Guest(s)