25.06.2013, 09:37
CMD:gotopd(playerid, params[])
{
printf("before if");
if(PlayerInfo[playerid][Admin] > 0 || PlayerInfo[playerid][Helper] > 0) {
printf("after if");
SetPlayerPos(playerid, 1520.1942,-1666.2303,13.5469);
printf("setplayerpos done");
SetPlayerInterior(playerid,0);
printf("setplayerinterior done");
SetPlayerVirtualWorld(playerid,0);
printf("setplayervw done");}
return 1;
}
[13:41:30] before if
[13:41:30] after if
[13:41:30] setplayerpos done
[13:41:30] setplayerinterior done
[13:41:30] setplayervw done
{
printf("before if");
if(PlayerInfo[playerid][Admin] > 0 || PlayerInfo[playerid][Helper] > 0) {
printf("after if");
SetPlayerPos(playerid, 1520.1942,-1666.2303,13.5469);
printf("setplayerpos done");
SetPlayerInterior(playerid,0);
printf("setplayerinterior done");
SetPlayerVirtualWorld(playerid,0);
printf("setplayervw done");}
return 1;
}
[13:41:30] before if
[13:41:30] after if
[13:41:30] setplayerpos done
[13:41:30] setplayerinterior done
[13:41:30] setplayervw done