14.10.2012, 12:29
Hello guys can u help me with how make an marker if u enter it u will go to city hall or police or medic??
new pickup; //at the top.
//Under OnGameModeInit()
pickup = CreatePickup(model, type, Float:X, Float:Y, Float:Z, Virtualworld);
//Under OnPlayerPickUpPickup
if(pickupid == pickup) //If they pickup a pickup that you have created, then
{
SetPlayerPos(playerid,x,y,z); //Set their position
SetPlayerInterior(playerid,interior); //Set their interior
return 1;
}
C:\Users\Mustafa\Desktop\Gta server\gamemodes\mygamemodemp.pwn(264) : warning 209: function "Streamer_OnPlayerPickUpPickup" should return a value Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase 1 Warning. |
CMD:gate(playerid,params[])
{
if(IsPlayerInRangeOfPoint(playerid, 8, 2096.3513, 1279.2029, 11.4749))
{
SendClientMessage(playerid, Lime, "Use /password [Gate Password] to open the gate!");
passwordtrue=1;
}
return 1;
}