SA-MP Forums Archive
Why nothing happen ? - 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: Why nothing happen ? (/showthread.php?tid=263397)



Why nothing happen ? - tal_peretz - 21.06.2011

I did -

PHP код:
if(strcmp(cmd,"/bdika7"true)==0){
SetPlayerAttachedObjectplayerid8190861, -0.117202, -0.031788, -0.02621698.56306479.9732660.0000000.5338871.0000001.000000 );
SetPlayerAttachedObjectplayerid6190794);
SetPlayerAttachedObjectplayerid7186362);
return 
1;} 



Re: Why nothing happen ? - tal_peretz - 22.06.2011

jump


Re: Why nothing happen ? - Wesley221 - 22.06.2011

Does it give any errors, or does it compile fine without any errors?


Re: Why nothing happen ? - Baboon - 22.06.2011

if(!strcmp(cmd,"/bdika7", true)==0){ //notice the !


Re: Why nothing happen ? - Gazmull - 22.06.2011

Did you used the correct syntax?


Re: Why nothing happen ? - tal_peretz - 22.06.2011

nothing happen............. nothing ! and i created the command correct for sure.

And no errors, I do the command in the server and nothing happen.


Re: Why nothing happen ? - tal_peretz - 23.06.2011

jump


Re: Why nothing happen ? - MyLife - 23.06.2011

pawn Код:
SetPlayerAttachedObject(playerid, *index, modelid, bone, Float:fOffsetX, Float:fOffsetY, Float:fOffsetZ, Float:fRotX, Float:fRotY, Float:fRotZ, Float:fScaleX, Float:fScaleY, Float:fScaleZ)
*index must be 0-4 only

SetPlayerAttachedObject