SA-MP Forums Archive
wow why did this 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: wow why did this happen ? (/showthread.php?tid=130964)



wow why did this happen ? - MrIncredible - 01.03.2010

look i started my game mode and i was testing it with my friends .. but noone could move .. like eachone was moving in their computer but i in my view noone was moving .. i couldnt kill them .. nothing .. i dont know what was wrond with it .. can anyone help me ?


Re: wow why did this happen ? - aircombat - 01.03.2010

did u have it all the times or just 1 time (P.S:Its So Weird)
________
Eagle Talon


Re: wow why did this happen ? - MrIncredible - 01.03.2010

Quote:
Originally Posted by [AC
Etch ]
did u have it all the times or just 1 time (P.S:Its So Weird)
only today .. then i change to another gamemode to grandlarc .. then it was ok .. but when i changed it back to my gm .. i couldnt see them moving. maybe too many teams .. i dont know .. .. and this happened this time only



Re: wow why did this happen ? - aircombat - 01.03.2010

do u have a return 0; in the end of OnPlayerUpdate ??
________
Digital vaporizers


Re: wow why did this happen ? - MrIncredible - 01.03.2010

Quote:
Originally Posted by [AC
Etch ]
do u have a return 0; in the end of OnPlayerUpdate ??
Код:
  }
}
thats how my onplayerupdate ends


Re: wow why did this happen ? - aircombat - 01.03.2010

can u show the whole OnPlayerUpdate
________
LovelyWendie


Re: wow why did this happen ? - MrIncredible - 01.03.2010

ok i made it with the return 0 and there were no mistakes ..


Re: wow why did this happen ? - aircombat - 01.03.2010

no the OnPlayerUpdate should return 1; at the end , if return 0; or there is nothing like } players won't move

U should make it like that
public OnPlayerUpdate(playerid)
{
ur code here
return 1;
}
________
Ass sex


Re: wow why did this happen ? - aircombat - 01.03.2010

i am sure when u add that it will work , if u need a tester pm me with ur server ip or post reply here


Etch.
________
Dc medical marijuana dispensary


Re: wow why did this happen ? - MrIncredible - 01.03.2010

Thanks now its fine .. i tested it .. it works ! thanks man !