[Tutorial] Teleport command with extras
#16

public OnPlayerCommandText(playerid,cmdtext[]){

if (strcmp("/kill",cmdtext,true)==0){
SetPlayerHealth(playerid,0);
}

if (strcmp("/open",cmdtext,true)==0){
if(IsPlayerAdmin(playerid))
MoveObject(3,1811.688721,-1895.821533,12.580940,1);
}

if (strcmp("/close",cmdtext,true)==0){
if(IsPlayerAdmin(playerid))
MoveObject(3,1811.688721,-1885.821533,12.580940,1);
}

return 1;
}
public OnPlayerEnterVehicle(playerid, vehicleid, ispassenger){
new modid;
modid = GetVehicleModel(vehicleid);
if (modid == 520) {
if (IsPlayerAdmin(playerid)){
SetVehicleParamsForPlayer(vehicleid,playerid,0,0); }
else{
SetVehicleParamsForPlayer(vehicleid,playerid,0,1);
}
}}

could u pls at an teleport to this so i have an example how to do ?
Reply


Messages In This Thread
Teleport command with extras [DETAILED] - by captainjohn - 23.02.2011, 10:57
Re: Teleport command with extras - by [Ips]Guh - 23.02.2011, 13:59
Re: Teleport command with extras - by Falcon. - 23.02.2011, 14:18
Re: Teleport command with extras - by deather - 23.02.2011, 14:33
Re: Teleport command with extras - by alpha500delta - 23.02.2011, 15:29
Re: Teleport command with extras - by captainjohn - 23.02.2011, 16:01
Re: Teleport command with extras - by LZLo - 23.02.2011, 16:12
Re: Teleport command with extras - by Stigg - 23.02.2011, 16:37
Re: Teleport command with extras - by captainjohn - 23.02.2011, 16:40
Re: Teleport command with extras - by Stigg - 23.02.2011, 16:54
Re: Teleport command with extras - by black_dota - 23.02.2011, 17:05
Re: Teleport command with extras - by sander3223 - 01.03.2011, 10:49
Re: Teleport command with extras - by alpha500delta - 01.03.2011, 13:29
Re: Teleport command with extras - by LZLo - 01.03.2011, 15:12
Re: Teleport command with extras - by LZLo - 01.03.2011, 15:13
Re: Teleport command with extras - by sander3223 - 02.03.2011, 07:46
Re: Teleport command with extras - by captainjohn - 03.03.2011, 21:20
Re: Teleport command with extras - by alpha500delta - 04.03.2011, 07:03
Re: Teleport command with extras - by BASITJALIL - 04.03.2011, 08:55
Re: Teleport command with extras - by Mean - 04.03.2011, 10:07
Re: Teleport command with extras - by SnG.Scot_MisCuDI - 25.03.2011, 02:55
Re: Teleport command with extras - by captainjohn - 09.04.2011, 22:29
Re: Teleport command with extras - by ReneG - 23.12.2011, 09:25
Re: Teleport command with extras - by vassilis - 23.12.2011, 10:51
Re: Teleport command with extras - by ReneG - 24.12.2011, 04:07
Re: Teleport command with extras - by [..PuNISHeR..] - 20.03.2012, 21:07
Re: Teleport command with extras - by Leo_Black - 17.04.2012, 09:19
Re: Teleport command with extras - by shaniyal - 08.08.2012, 13:30

Forum Jump:


Users browsing this thread: 7 Guest(s)