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 |
#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;
}
SetPlayerPos, usa-se 4 parвmetros apenas.
Use uma variavel+random. |
#pragma tabsize 0
// Posiзхes, (X, Y, Z e Вngulo Enfrentando) {2034.9502,1008.0985,10.8203}, //lv1 {2085.6843,867.1085,6.9544}, //lv2 {2285.8066,606.6849,10.8203}, //lv3 {2179.8132,1117.5046,12.6484}, //lv4 {1953.1372,1343.9331,15.3746}, //lv5 {1995.3676,1668.4370,22.7734}, //lv6 {2241.8218,2433.2520,10.8203}, //lv7 {-2080.4690,-2455.4199,30.6250}, //lv8 {2615.2366,1823.2910,10.8203}, //lv9 {2579.1167,2306.4714,17.8222} //lv10
new rand = random(sizeof(RandomSpawn));
// SetPlayerPos para os dados aleatуrios de desova
SetPlayerPos(playerid, RandomSpawn[rand][0], RandomSpawn[rand][1], RandomSpawn[rand][2]);
// SetPlayerFacingAngle para os dados aleatуrios angulares voltados
SetPlayerFacingAngle(playerid, RandomSpawn[rand][3]);
foi esse tutorial que eu usei fiz certinho tudo mais ainda nao sei o erro o.O
|
1° Topo do gm
Код:
#pragma tabsize 0 Troque Код:
// Posiзхes, (X, Y, Z e Вngulo Enfrentando) {2034.9502,1008.0985,10.8203}, //lv1 {2085.6843,867.1085,6.9544}, //lv2 {2285.8066,606.6849,10.8203}, //lv3 {2179.8132,1117.5046,12.6484}, //lv4 {1953.1372,1343.9331,15.3746}, //lv5 {1995.3676,1668.4370,22.7734}, //lv6 {2241.8218,2433.2520,10.8203}, //lv7 {-2080.4690,-2455.4199,30.6250}, //lv8 {2615.2366,1823.2910,10.8203}, //lv9 {2579.1167,2306.4714,17.8222} //lv10 |
OMG!
pawn Код:
![]() coloque sу isso! |
1° Topo do gm
Код:
#pragma tabsize 0 Troque Код:
// Posiзхes, (X, Y, Z e Вngulo Enfrentando) {2034.9502,1008.0985,10.8203}, //lv1 {2085.6843,867.1085,6.9544}, //lv2 {2285.8066,606.6849,10.8203}, //lv3 {2179.8132,1117.5046,12.6484}, //lv4 {1953.1372,1343.9331,15.3746}, //lv5 {1995.3676,1668.4370,22.7734}, //lv6 {2241.8218,2433.2520,10.8203}, //lv7 {-2080.4690,-2455.4199,30.6250}, //lv8 {2615.2366,1823.2910,10.8203}, //lv9 {2579.1167,2306.4714,17.8222} //lv10 |