10.05.2010, 21:11
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.
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.
Code:
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; }