//////////////////////////////////////////////////////////////////////////////// // spsx.inc for SetPlayertPosEx function v1.1 (Cross Compatible with v1.0) // Author : Ballu Miaa aka Char.C // Facebook: MCeeCharC // Twitter: IndianGz // Youtube Channel: IndianGz // SAMP Forums : Ballu Miaa // Site: www.excaliburgaming.net // CREDITS: // Ballu Miaa for designing this include. // Developer of SetPlayerPos and SetPlayerFacingAngle functions. (Maybe Kalcor) // iTorran for his idea of adding new Params. // Y_Less for making the include cross compatible with v1.0 // NOTE: // 1. You are not allowed to remove/edit the credits. // 2. You are not allowed to make any changes to this include and re-release it. // 3. You are not allowed to sell this include. // 4. You are not allowed to call this include of you own. //ChangeLog: This is v1.1 including interior as well as virtual world! #include #include stock SetPlayerPosEx(playerid, Float:x ,Float:y,Float:z,Float:a,interior = 0,vw = 0) { SetPlayerPos(playerid , x , y ,z); SetPlayerFacingAngle(playerid, a); SetPlayerInterior(playerid, interior); SetPlayerVirtualWorld(playerid, vw); return 1; }