22.01.2016, 20:52
PHP код:
CMD:irmap(playerid, params[])
{
new nmapa;
if(sscanf(params, "i", nmapa)) return SendClientMessage(playerid, -1, "Use: /irmap [num]");
switch(nmapa)
{
case 1:
{
// SetPlayerPos(playerid, x, y, z)
}
case 2:
{
// SetPlayerPos(playerid, x, y, z)
}
case 3:
{
// SetPlayerPos(playerid, x, y, z)
}
default: SendClientMessage(playerid, -1, "Numero invбlido");
}
return 1;
}