[HELP] --------> [PLEASE]
#3

Well first dont use OnPlayerUpdate for those coordinates, this will provide too much lag (try to make a timer or something ?)

And second,

You dont have to put tags for every menu item, this is also good/cleaner:

pawn Код:
"Weapons Menu\nShawn-Off\nTec9\nArmor\nSniper"
And third, check your code:

pawn Код:
if(IsPlayerInRangeOfPoint(playerid, 2.5, 1929.91796875, -1776.3956298828, 12.467615127563)) //if player is near that location
    {
    SetPlayerPos(playerid, 2543.462646,-1308.379882,1026.728393); //teleport player
    SetPlayerInterior(playerid, 2); //set interrior
    SendClientMessage(playerid, 0x00FF00, "Welcome In The Building."); //Send message
    }
That is the for each checkpoint and its location the script, so change that to this:

pawn Код:
//IsPLayerInRangeOfPoint etc (same)
    if(IsPlayerInRangeOfPoint(playerid, 2.5, 1929.91796875, -1776.3956298828, 12.467615127563)) //if player is near that location
    {
    GivePlayerWeapon(playerid,38,500); //gives player minigun xD with 500 bullets
    }
And for the autotune check out AddVehicleComponent at the wiki.
Reply


Messages In This Thread
[HELP] --------> [PLEASE] - by [Lsrcr]Rafa - 10.09.2010, 21:40
Re: [HELP] --------> [PLEASE] - by [Lsrcr]Rafa - 10.09.2010, 22:42
Re: [HELP] --------> [PLEASE] - by gamer931215 - 10.09.2010, 22:57
Re: [HELP] --------> [PLEASE] - by [Lsrcr]Rafa - 10.09.2010, 23:29
Re: [HELP] --------> [PLEASE] - by gamer931215 - 11.09.2010, 07:45
Re: [HELP] --------> [PLEASE] - by [Lsrcr]Rafa - 11.09.2010, 10:18
Re: [HELP] --------> [PLEASE] - by [Lsrcr]Rafa - 11.09.2010, 10:24

Forum Jump:


Users browsing this thread: 2 Guest(s)