|
Hypar
|
 |
« Reply #45 on: September 23, 2008, 04:48:05 PM » |
|
/get <id> works now, I had cmd = strtok(cmdtext, idx); twice in there..  Now /goto still.. Also when I goto my own ID it falls at that place in a farm..
|
|
|
|
|
Logged
|
if(strcmp(cmd,"/getcar",true) == 0) { return CarToPlayer(playerid); }  
|
|
|
|
|
|
Hypar
|
 |
« Reply #47 on: September 23, 2008, 06:38:12 PM » |
|
When I do /goto <id> I teleport to some location at a farm near LS.. under the ground.
|
|
|
|
|
Logged
|
if(strcmp(cmd,"/getcar",true) == 0) { return CarToPlayer(playerid); }  
|
|
|
|
Yeatric.
|
 |
« Reply #48 on: September 23, 2008, 07:10:02 PM » |
|
When I do /goto <id> I teleport to some location at a farm near LS.. under the ground.
Then the guy where you teleport to is @ the SkinSelectionScreen.
|
|
|
|
|
Logged
|
|
|
|
|
Hypar
|
 |
« Reply #49 on: September 23, 2008, 08:19:43 PM » |
|
Then the guy where you teleport to is @ the SkinSelectionScreen.
Nope, he's just standing next to me :/
|
|
|
|
|
Logged
|
if(strcmp(cmd,"/getcar",true) == 0) { return CarToPlayer(playerid); }  
|
|
|
|
Yeatric.
|
 |
« Reply #50 on: September 24, 2008, 09:47:41 AM » |
|
Then the guy where you teleport to is @ the SkinSelectionScreen.
Nope, he's just standing next to me :/ Was his GTA minimized?
|
|
|
|
|
Logged
|
|
|
|
|
|
|
Hypar
|
 |
« Reply #52 on: September 24, 2008, 04:58:57 PM » |
|
The normal teleport (to a location) question: How do I teleport my car with me?
|
|
|
|
|
Logged
|
if(strcmp(cmd,"/getcar",true) == 0) { return CarToPlayer(playerid); }  
|
|
|
|
°ғαιιοцт°
|
 |
« Reply #53 on: September 24, 2008, 05:16:46 PM » |
|
if(strcmp(cmdtext, "/smoke", true) == 0) { if(GetPlayerState(playerid) == PLAYER_STATE_DRIVER) { SetVehiclePos(GetPlayerVehicleID(playerid),-2110.0027,903.5170,76.4563); SetVehicleZAngle(GetPlayerVehicleID(playerid), 0.0); //enter your facing angle here SetCameraBehindPlayer(playerid); //not necessary (just for if you want it :P) LinkVehicleToInterior(GetPlayerVehicleID(playerid),interior); //put the interior of your teleport here. } else { SetPlayerPos(playerid,-2110.0027,903.5170,76.4563); SetPlayerFacingAngle(playerid, 0.0); //enter your facing angle here SetCameraBehindPlayer(playerid); //not necessary (just for if you want it :P) } SetPlayerInterior(playerid, interior); //put the interior of your teleport here, you can find them at http://nl.wikigta.org/wiki/Hidden_Interiors_(GTA_San_Andreas) SendClientMessage(playerid, 0x0066FFAA, You have been teleported to -smoke-); return 1; } (from http://forum.sa-mp.com/index.php?topic=72147.msg481375#msg481375)
|
|
|
|
|
Logged
|
     
llllllllllllllllllllll lllllll lllllll llll l::::::::::::::::::::l l:::::l l:::::l lll:::l l::::::::::::::::::::l l:::::l l:::::l l:::::l ll::::::lllllllll::::l l:::::l l:::::l l:::::l l:::::l lllllllllllllllllll l::::l l::::l lllllllllll llllll lllllllllllll:::::lllllll l:::::l l::::::::::::l l::::l l::::l ll:::::::::::ll l::::l l::::ll:::::::::::::::::l l::::::llllllllll lllllllll:::::l l::::l l::::l l:::::::::::::::ll::::l l::::ll:::::::::::::::::l l:::::::::::::::l l::::l l::::l l::::l l:::::lllll:::::ll::::l l::::lllllll:::::::llllll l:::::::::::::::l lllllll:::::l l::::l l::::l l::::l l::::ll::::l l::::l l:::::l l::::::llllllllll ll::::::::::::l l::::l l::::l l::::l l::::ll::::l l::::l l:::::l l:::::l l::::llll::::::l l::::l l::::l l::::l l::::ll::::l l::::l l:::::l l:::::l l::::l l:::::l l::::l l::::l l::::l l::::ll:::::llll:::::l l:::::l llllll ll:::::::ll l::::l l:::::l l::::::ll::::::ll:::::lllll:::::ll:::::::::::::::ll l::::::llll:::::l l::::::::ll l:::::llll::::::l l::::::ll::::::ll:::::::::::::::l l:::::::::::::::l ll::::::::::::::l l::::::::ll l::::::::::ll:::ll::::::ll::::::l ll:::::::::::ll ll::::::::ll:::l ll:::::::::::ll lllllllllll llllllllll llllllllllllllllllll lllllllllll llllllll llll lllllllllll | Stunt Universe 2.1 (official newest Stunt Universe) 91.121.193.84:8888 |
|
|
|
|
Hypar
|
 |
« Reply #54 on: September 24, 2008, 06:43:18 PM » |
|
Ah nvm then, too long ^^ But thanks anyway 
|
|
|
|
|
Logged
|
if(strcmp(cmd,"/getcar",true) == 0) { return CarToPlayer(playerid); }  
|
|
|
|
|
|
|
|
SaW
|
 |
« Reply #57 on: October 05, 2008, 10:42:28 AM » |
|
Nice tut but maybe you should add Simons debug mode instead of SA-MPs own. It's way better and can be done in the server.
|
|
|
|
|
Logged
|
|
|
|
Woozy
Little Clucker

Posts: 4
|
 |
« Reply #58 on: October 05, 2008, 09:08:58 PM » |
|
Thank you very much that helped me a lot
|
|
|
|
|
Logged
|
|
|
|
|
|
|