super_uzer
Новичок
я понимаю, что несовпадение количества аргументов, но все же, в чем именно заключается моя ошибка:
PHP:
switch(random(16)) // генерируем число от 0 до 15 (включая)
{
case 0: SetPlayerPos(playerid,-456.9073,2221.4951,43.0246);
case 1: SetPlayerPos(playerid,-433.1681,2250.9082,42.5980);
case 2: SetPlayerPos(playerid,-408.7240,2261.6597,42.4297);
case 3: SetPlayerPos(playerid,-400.2243,2228.3457,42.4297);
case 4: SetPlayerPos(playerid,-389.2149,2213.6875,42.4253);
case 5: SetPlayerPos(playerid,-390.9748,2197.8042,42.4240);
case 6: SetPlayerPos(playerid,-358.9847,2211.2424,42.4844);
case 7: SetPlayerPos(playerid,-382.9482,2206.4070,42.4236);
case 8: SetPlayerPos(playerid,-391.2118,2222.0623,42.4297);
case 9: SetPlayerPos(playerid,-396.9840,2251.7239,42.4297);
case 10: SetPlayerPos(playerid,-408.4073,2261.8003,42.4194);
case 11: SetPlayerPos(playerid,-366.8639,2269.8223,42.1496);
case 12: SetPlayerPos(playerid,-354.2245,2244.2285,42.4844);
case 13: SetPlayerPos(playerid,-381.2924,2241.1990,42.3659);
case 14: SetPlayerPos(playerid,-403.6906,2260.0396,42.3835);
case 15: SetPlayerPos(playerid,-418.1114,2229.0120,42.4297);
}
