16.08.2010, 05:43
Quote:
Learn to search even ******* have a tutorial! Here:
[pawn] if(strcmp(cmdtext,"teleport",true)==0) { new vehicleid = GetPlayerVehicleID(playerid); new State = GetPlayerState(playerid); if(IsPlayerInAnyVehicle(playerid) && State == PLAYER_STATE_DRIVER) { LinkVehicleToInterior(vehicleid,**Interior**); SetPlayerInterior(playerid,**Interior**); return SetVehiclePos(vehicleid,**Co-ords**); } SetPlayerPos(playerid,**Co-ords**); SetPlayerInterior(playerid,**Interior**); return 1; } [/pawn[ Don't waste my time! This is also copied from a tutorial. |