Vice City Multiplayer
VC:MP 0.3 => mIRC/pawn Scripting => Topic started by: jimmy on December 31, 2011, 08:08:03 pm
-
hey guys i am scripting on GUPS i need the cmd of gotoloc i want to write !gotoloc not /c gotoloc plzz give me and tell me the cmd for !brb !back !lol when i write brb my player pause and when i write !back my player unpause for lol laughing out loud plzzzzzzzzz
-
Meh this is not a place to request scripts , this is a place where we help you fix the script if you post your script here.
Btw to change /c gotoloc to !gotoloc Cut the whole script /c gotoloc and paste it on OnplayerText with ! and if it shows errors just paste it here. ;)
-
You can treat to make it and if that dont work you POST it here
-
else if ( strcmp( cmd, "gotoloc", true ) == 0 )
{
tmp = strtok( cmdtext, idx );
if ( !IsLoggedIn( playerid ) ) SendClientMessage( playerid, COLOR_RED, "Please log-in to your account." );
else if ( !IsAuthorized( playerid, cmd ) ) SendClientMessage( playerid, COLOR_RED, "You don't have access to use this command!" );
else if ( !strlen( tmp ) ) SendClientMessage( playerid, COLOR_GREEN, "USAGE: /c gotoloc [Name]" );
else
{
new splitx[ 3 ][ 128 ], szMsg[ 128 ];
if ( !IsLocationExist( tmp ) )
{
format( szMsg, sizeof( szMsg ), "Location:[ %s ] does not exist.", tmp );
SendClientMessage( playerid, COLOR_GREEN, szMsg );
return 1;
}
split( dini_Get( "/SavedLocations/Locations.ini", tmp ), splitx, ' ' );
SetPlayerPos( playerid, floatstr( splitx[ 0 ] ), floatstr( splitx[ 1 ] ), floatstr( splitx[ 2 ] ), 0, 0 );
format( szMsg, sizeof( szMsg ), "Teleporting to location:[ %s ]", tmp );
SendClientMessage( playerid, COLOR_GREEN, szMsg );
}
return 1;
}
-
this is gups cmd so plzz give me the right cmd of gotoloc for gups
-
when i write brb my player pause and when i write !back my player unpause for lol laughing out loud plzzzzzzzzz
this is gups cmd so plzz give me the right cmd of gotoloc for gups
wat.
-
when i write brb my player pause and when i write !back my player unpause for lol laughing out loud plzzzzzzzzz
this is gups cmd so plzz give me the right cmd of gotoloc for gups
wat.
lol
jimmy you need to be more clear..
-
hey friend i dont know scripting well but i am making a server i am saying to you that the cmd for pause player game i need it i want to add it and also unpause brb means be right back then player automatically pause and back is back on game then player unpause if you know scripting take me as student friends