20.07.2015, 18:25
Hello, I wanted to make a system where, if you are new, you will be put in a VirtualWorld, but I don't know how to keep changing the number, this is what I've got so far
can I have some help? thanks
Code:
new VW = 20;
pawn Code:
public OnPlayerSpawn(playerid)
{
if (pInfo[playerid][Newbie] == 1)
{
new str[128];
SetPlayerVirtualWorld(playerid, VW + 1);
format(str, sizeof(str), "You are in VW %d", GetPlayerVirtualWorld(playerid));
SendClientMessage(playerid, -1, str);
}
return 1;
}