Virtual Worlds
#1

Hello i want to make command that will show player virtual world

Код:
if(strcmp(cmd, "/myvirtualworld", true) == 0)
	{
		if (PlayerInfo[playerid][pAdmin] >= 1)
		{
		SendClientMessage(playerid,COLOR_LIGHTGREEN,"Your virtual world is d% ",GetPlayerVirtualWorld(playerid));
		}
		return 1;
	}
How to make it work ?
Reply
#2

The return for GetPlayerVirtualWorld is an integer, so you would do '%d'
Reply
#3

And you need to format the message before you can send it, or you can use this.
Reply
#4

Oh Thanks now it work
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)