05.05.2012, 19:25
Hello!
Im just wondering how i can make a command that gives someone a parachute!
Like /parachute
or for short /para
In the format for example like the command below!
Im just wondering how i can make a command that gives someone a parachute!
Like /parachute
or for short /para
In the format for example like the command below!
Quote:
if(strcmp(cmdtext,"/exit",true)==0) { if(IsInGunShop[playerid] == 1) { if( GetPlayerInterior(playerid) != 0 ) { IsInGunShop[playerid] = 0; SetPlayerVirtualWorld(playerid, 0); SetPlayerInterior(playerid, 0); if(GunShopID[playerid] == 1) { SetPlayerPos(playerid, 777.4450+2,1871.4246+10,4.9067); } if(GunShopID[playerid] == 2) { SetPlayerPos(playerid, -315.0909,828.4446,15.2422); } if(GunShopID[playerid] == 3) { SetPlayerPos(playerid, -310.8963,1768.0930,43.6406); } if(GunShopID[playerid] == 4) { SetPlayerPos(playerid, -604.3909+2,2716.7764+10,72.7231); } if(GunShopID[playerid] == 7 ) { SetPlayerPos(playerid, -286.3451,2693.2859,62.6875); } if(GunShopID[playerid] == 6 ) { SetPlayerPos(playerid, -181.6294,1166.3633,19.7500); } GunShopID[playerid] = 0; } } return 1; } |