SA-MP Forums Archive
Need help! - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+---- Forum: Help Archive (https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: Need help! (/showthread.php?tid=222992)



Need help! - Dr.Ghost - 08.02.2011

I have try made it but nothing happen near me..
pawn Код:
if(!strcmp(cmdtext, "/shark", true))
    {
        SendClientMessage(playerid,COLOR_PINK,"For Remove it do /removeshark");
        GameTextForPlayer(playerid,"~r~U get a Shark!",4000,3);
        AttachObjectToPlayer(1608,playerid, 1.5, 0.5, 0, 0, 1.5, 2);
        PlayerPlaySound(playerid,1057,0.0,0.0,0.0);
        return 1;
    }
   
    if(!strcmp(cmdtext, "/removeshark", true))
    {
        GameTextForPlayer(playerid,"~r~U Remove a Shark!",4000,3);
        PlayerPlaySound(playerid,1057,0.0,0.0,0.0);
        //DestroyObject(objectid,
        DestroyObject(1608);
        return 1;
    }
How make it to working? on my Server? guys