25.06.2013, 09:18
I should post a full gamemode, because it is a roleplay gamemode.
I can post you an example.
CMD:gotopd(playerid, params[])
{
if(PlayerInfo[playerid][Admin] > 0 || PlayerInfo[playerid][Helper] > 0) {
SetPlayerPos(playerid, 1520.1942,-1666.2303,13.5469);
SetPlayerInterior(playerid,0);
SetPlayerVirtualWorld(playerid,0);}
return 1;
}
CMD:gotoganton(playerid, params[])
{
if(PlayerInfo[playerid][Admin] > 0 || PlayerInfo[playerid][Helper] > 0) {
SetPlayerPos(playerid, 2227.8057,-1725.0481,13.5477);
SetPlayerInterior(playerid,0);
SetPlayerVirtualWorld(playerid,0);}
return 1;
}
noone of this works.
I can post you an example.
CMD:gotopd(playerid, params[])
{
if(PlayerInfo[playerid][Admin] > 0 || PlayerInfo[playerid][Helper] > 0) {
SetPlayerPos(playerid, 1520.1942,-1666.2303,13.5469);
SetPlayerInterior(playerid,0);
SetPlayerVirtualWorld(playerid,0);}
return 1;
}
CMD:gotoganton(playerid, params[])
{
if(PlayerInfo[playerid][Admin] > 0 || PlayerInfo[playerid][Helper] > 0) {
SetPlayerPos(playerid, 2227.8057,-1725.0481,13.5477);
SetPlayerInterior(playerid,0);
SetPlayerVirtualWorld(playerid,0);}
return 1;
}
noone of this works.