View Single Post
Old 10/05/2010, 09:11 PM   #1
Hash [NL-RP]
Join Date: May 2010
Posts: 161
Reputation: 0
Default [Need Help] Explosive Help.

Okay, i have recently made half a command to make a explosive barrel,
it is to be used on the Godfather type of script,
it is desgined to remove 100 materials from the player to create the object
but it does'nt seem to work, it compiles fine, but them object nor the command works
Please help me.

 if(strcmp(cmdtext, "/PlaceExplosive") == 0)
    if(PlayerInfo[playerid][pMats] > 100)
    PlayerInfo[playerid][pMember] = CreateObject(1225, X, Y, Z, 0.0, 0.0, A+180); 
    else { SendClientMessage(playerid,COLOR_GREY,"  Not enough Materials for that Weapon!");
    return 1;
Hash [NL-RP] is offline