04.06.2009, 09:20
You can do it like this...
Pawno
That means: If you use this command, two explosive barrels appear somewhere next to you.
Pawno
Код:
if (strcmp("/anuj", cmdtext, true, 10) == 0) //anuj's dm place { SetPlayerPos(playerid, 2855.518,1831.024,11.323); GivePlayerPeapon(26,1000) //the 26 is the Shotgun and 1000 the ammo CreateObject(1225, 2858.518,1831.024,11.323, 0.00, 0.00, 0.00); CreateObject(1225, 2853.518,1831.024,11.323, 0.00, 0.00, 0.00); SetPlayerInterior(playerid, 0); return 1; }