View Single Post
Old 10/05/2010, 10:35 PM   #2
Lorenc_
High-roller
 
Lorenc_'s Avatar
 
Join Date: Jan 2010
Location: Australia
Posts: 3,793
Reputation: 1179
Default Re: [Need Help] Explosive Help.

Code:
 if(strcmp(cmdtext, "/PlaceExplosive") == 0)
  {
    new Float: x, Float: y, Float: z;
    GetPlayerPos(playerid,x,y,z);
    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;
  }
I think its like that.
__________________
Join the best Cops And Robbers in SA-MP, today. svr.sfcnr.com:7777

Lorenc_ is offline