Search Results
esta parte debe ir en onplayerdeah, no en onplayerspawn
Код:
GetPlayerPos(playerid, DeathXC[playerid], DeathYC[playerid], DeathZC[playerid]);
SetSpawnInfo(playerid, 0, 0,DeathXC[playerid...
76
El -1 lo mбs seguro es que sea el color, -1 significa color blanco, ahora, con el 1 no tengo idea
127
El problema esta en la linea
TextDrawTextSize(caca, 42.952384, 0.000000);
No puedes tener coordenadas negativas ni iguales a 0, prueba ajustando la coordenada Y a 10, lo que quedaria asi
TextDrawT...
41
why u use "type" with the playerid?
try without that;
Код:
CMD:clan(playerid, params[])
{
new type[128];
if(sscanf(params,"s[128]",type)) return SendClientMessage(playerid, -1, ""COL_GRAY"USA...
192
Код:
countEvent(event)
{
new count = 0;
for(new i=0; i < MAX_PLAYERS; i++)
{
if(playerInfo[i][MODE] == event)
{
count++;
}
...
131
the server at least show u this "** {d3d3d3}%s(%i) Telah Meninggalkan Last Man Standing (LMS)" ?
131
Try adding playerInfo[playerid][MODE] = unknown; before "SpawnPlayer"
131
< 4 (3,2,1,0,-infinite)
<= 4 (4,3,2,1,0,-infinite)
> 4 (5,6,7,8,+infinite)
>= 4 (4,5,6,7,+infinite)
150
that sscanf condition is bad
Код:
if(sscanf(params,"i",cmdreason))
{
SendClientMessage(playerid,COLOR_ERROR,"{CACA00}[INFO]{FFFFFF}: /adsetskin [SkinID]");
return 1;
}
87
For the first 4 lines:
Need close the "IsPlayerInRangeOfPoint" with ")" after z position (in ur case "HouseInfo[h][hExitZ]"), and remove the last unnecessary ")", follow this example with the other 3...
103
the definition need be global and for each player
Код:
new Float:oldHealth[MAX_PLAYERS];
if(newinteriorid != 0)
{
GetPlayerHealth(playerid, oldHealth[playerid]);
SetPlayerHea...
71
Код:
CMD:kick(playerid, params[])
{
if(pInfo[playerid][pAdmin] < 1)
return SendClientMessage(playerid, GREY, "You are not authorized to use that command.");
new
...
219
try with
Code:
if(strcmp(PlayerName(playerid),Vehicles[vehicleid][carowner],false) && PlayerInfo[playerid][playerteam] != Vehicles[vehicleid][carteam] && strcmp(Vehicles[vehicleid][...
221
Uh, if they are integrer u cant use strcmp, strcmp only compare two strings, u need compare the vars directly like:
Код:
PlayerInfo[playerid][playerteam] != Vehicles[vehicleid][carteam]
the line ...
221
Код:
(strcmp(PlayerInfo[playerid][playerteam],Vehicles[vehicleid][carteam],false))
change to
Код:
strcmp(PlayerInfo[playerid][playerteam],Vehicles[vehicleid][carteam],false)
the line would...
221
PlayerInfo[playerid][playerteam] & Vehicles[vehicleid][carteam] are string or integrer?
221
Debes tener un error en if(InformacionNegocio[n][nEnVenta]
coloca un print antes de ese if que te de el valor que tiene en ese momento, y fнjate, debe ser 0
123