17.01.2013, 19:42
Aqui Gente Esses Sгo Os Warnings
Quote:
C:\Users\joao marcos\Desktop\Servidor\gamemodes\tss.pwn(57) : warning 217: loose indentation C:\Users\joao marcos\Desktop\Servidor\gamemodes\tss.pwn(57) : warning 202: number of arguments does not match definition C:\Users\joao marcos\Desktop\Servidor\gamemodes\tss.pwn(57) : warning 202: number of arguments does not match definition C:\Users\joao marcos\Desktop\Servidor\gamemodes\tss.pwn(57) : warning 202: number of arguments does not match definition C:\Users\joao marcos\Desktop\Servidor\gamemodes\tss.pwn(57) : warning 202: number of arguments does not match definition C:\Users\joao marcos\Desktop\Servidor\gamemodes\tss.pwn(57) : warning 202: number of arguments does not match definition C:\Users\joao marcos\Desktop\Servidor\gamemodes\tss.pwn(57) : warning 202: number of arguments does not match definition |
PHP код:
#include <a_samp> //include principal nunca retirar
new Float:RandomSpawn[][11] =
{
// Posiзхes, (X, Y, Z e Вngulo Enfrentando)
{2034.9502,1008.0985,10.8203,266.7892}, //lv1
{2085.6843,867.1085,6.9544,95.2108}, //lv2
{2285.8066,606.6849,10.8203,0.0058}, //lv3
{2179.8132,1117.5046,12.6484,54.9711}, //lv4
{1953.1372,1343.9331,15.3746,268.0314}, //lv5
{1995.3676,1668.4370,22.7734,276.9090}, //lv6
{2241.8218,2433.2520,10.8203,343.0994}, //lv7
{-2080.4690,-2455.4199,30.6250,317.9999}, //lv8
{2615.2366,1823.2910,10.8203,85.8127}, //lv9
{2579.1167,2306.4714,17.8222,179.6309} //lv10
};
public OnGameModeInit()
{
SetGameModeText("Criando Do 0");//Nome Do Game Mode
UsePlayerPedAnims();//Faz as Skin correr igual o Cj
return 1;
}
public OnGameModeExit()
{
return 1;
}
public OnPlayerRequestClass(playerid, classid)
{
SetPlayerPos(playerid, 1958.3783, 1343.1572, 15.3746);
SetPlayerCameraPos(playerid, 1958.3783, 1343.1572, 15.3746);
SetPlayerCameraLookAt(playerid, 1958.3783, 1343.1572, 15.3746);
return 1;
}
new rand = random(sizeof(RandomSpawn));
// SetPlayerPos para os dados aleatуrios de desova
SetPlayerPos(playerid, RandomSpawn[rand][0], RandomSpawn[rand][1], RandomSpawn[rand][2], RandomSpawn[rand][4], RandomSpawn[rand][5], RandomSpawn[rand][6], RandomSpawn[rand][7], RandomSpawn[rand][8], RandomSpawn[rand][9]);
// SetPlayerFacingAngle para os dados aleatуrios angulares voltados
SetPlayerFacingAngle(playerid, RandomSpawn[rand][3]);
return 1;
}