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){
SetPlayerAttachedObject( playerid, 8, 19086, 1, -0.117202, -0.031788, -0.026216, 98.563064, 79.973266, 0.000000, 0.533887, 1.000000, 1.000000 );
SetPlayerAttachedObject( playerid, 6, 19079, 4);
SetPlayerAttachedObject( playerid, 7, 18636, 2);
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