09.01.2013, 11:44
My try:
I know this can be smaller, but how ?(Just another question)
Greetings, micol.
pawn Код:
switch(arena1[playerid])
{
case 1:
{
new arena2 = random(sizeof(arenaspawn));
SetPlayerPos(playerid, arenaspawn[arena2][0], arenaspawn[arena2][1], arenaspawn[arena2][2]);
ResetPlayerWeapons(playerid);
GivePlayerWeapon(playerid, 38,999999);
}
}
switch(arenade1[playerid])
{
case 1:
{
new arenade2 = random(sizeof(arenadespawn));
SetPlayerPos(playerid, arenadespawn[arenade2][0], arenadespawn[arenade2][1], arenadespawn[arenade2][2]);
ResetPlayerWeapons(playerid);
GivePlayerWeapon(playerid, 24,200);
}
}
switch(arenaso1[playerid])
{
case 1:
{
new arenaso2 = random(sizeof(arenasospawn));
SetPlayerPos(playerid, arenasospawn[arenaso2][0], arenasospawn[arenaso2][1], arenasospawn[arenaso2][2]);
ResetPlayerWeapons(playerid);
GivePlayerWeapon(playerid, 26,300);
}
}
Greetings, micol.