31.01.2010, 15:17
so i can make my server better
Originally Posted by Fedee!
Just use "AddStaticPickUp"
|
Originally Posted by hvampire
do u mean a weapon that spawn with the player class when he spawns or its a weapon pickup u want to place somewhere?
|
new weapon1; new weapon2;
weapon1 = AddStaticPickup(modelId, 2, x, y, z);// 2 is the type, respawns after a little while, change x, y, z coords and modelId (listed below) weapon2 = AddStaticPickup(modelId, 2, x, y, z);// 2 is the type, respawns after a little while, change x, y, z coords and modelId (listed below)
if(pickupid == weapon1) { GivePlayerWeapon(playerid, weaponId, ammo);//WeaponId you modify to your weapon, below... and you should also modify ammo... } if(pickupid == weapon2) { GivePlayerWeapon(playerid, weaponId, ammo);//WeaponId you modify to your weapon, below... and you should also modify ammo... }
321 - Regular Dildo 322 - White Dildo 323 - Vibrator 324 - Another Vibrator 325 - Flowers 326 - Cane 330 - CJ's Phone 331 - Brass Knuckles 333 - Golf Club 334 - Night Stick 335 - Combat Knife 336 - Baseball Bat 337 - Shovel 338 - Pool Cue 339 - Katana 341 - Chainsaw 342 - Frag Grenade 343 - Tear Gas Grenade 344 - Molotov Cocktail 346 - Colt 45 Pistol 347 - Colt 45 Pistol Silenced 348 - Desert Eagle 349 - Shotgun 350 - Sawn-Off Shotgun 351 - Combat Shotgun 352 - Micro-UZI 353 - MP5 355 - AK47 356 - M4 357 - Country Rifle 358 - Sniper Rifle 359 - Rocket Launcher 360 - Heat Seeking Rocket Launcher 361 - Flamethrower 362 - Minigun 363 - Satchel Charges 364 - Detonator 365 - Spray Paint Can 366 - Fire Extinguisher 367 - Camera 368 - Night Vision Goggles 369 - Infra-Red Goggles 370 - Jetpack 371 - Parachute 372 - Tec-9