Server crashing after 1h rep+
#1

Код:
[20:35:15] *** Streamer Plugin: Warning: Include file version (0x26105) does not match plugin version (0x27401) (script might need to be recompiled with the latest include file)
[20:35:15] *** CreateDynamicMapIcon: Expecting 10 parameter(s), but found 9
[20:35:15] *** CreateDynamicMapIcon: Expecting 10 parameter(s), but found 9
[20:35:15] *** CreateDynamicMapIcon: Expecting 10 parameter(s), but found 9
[20:35:15] *** CreateDynamicMapIcon: Expecting 10 parameter(s), but found 9
[20:35:15] *** CreateDynamicMapIcon: Expecting 10 parameter(s), but found 9
server got crashed after 1/2 h what is problem
Reply
#2

You have less parameters on your CreateDynamicMapIcon, u need to set one more parameter u forgot CreateDynamicMapIcon(Float, Float:y, Float:z, type, color, worldid = -1, interiorid = -1, playerid = -1, Floattreamdistance = 100.0, style = MAPICON_LOCAL);
this is how it should be..
Reply
#3

i don't have CreateDynamicMapicon

only : SetPlayerMapIcon(playerid, 11,268.5683,1885.2427,-29.8649, 30, 0,MAPICON_LOCAL);
Reply
#4

This error that u posted here it shows that u have created DynamicMapIcons and that u didnt put all parametars into the brackets. And I would recommend u that u put streamer include and plugin of the same version of streamer. So download the streamer and put the include and plugin of the same version of streamer.
Reply
#5

can u give me link for this version
Quote:

Include file version (0x26105) does not match plugin version (0x27401)

Reply
#6

Here is the link of the 2.7.7 version https://github.com/samp-incognito/sa...ses/tag/v2.7.7
Reply
#7

can you help me why cops can't get message in this code

Quote:

if(pickupid == Jetpack)
{
if(gTeam[playerid] == C1) return 0;
else
{
SetPlayerSpecialAction(playerid,SPECIAL_ACTION_USE JETPACK);
SendClientMessage(playerid,-1,"{FF0000}[JETPACK]{ffffff}You stole the jetpack, quickly take it to the place on the map.");
DestroyPickup(Jetpack);
SetTimer("StealAgain",1200000,false);
SetPlayerMapIcon(playerid,Ammu,-396.3205,2236.0513,42.4297,20,0,MAPICON_GLOBAL);
for(new i=0; i <MAX_PLAYERS; i++)
{
if(gTeam[i] == C1)
{
THIS MESSAGE------------> GameTextForPlayer(i,"~b~Cops ~N~~W~intruder stole the ~N~~R~jetpack~W~ ~N~stop him immediately!", 2000, 4);
}
}
}
}
return 1;
}

Reply
#8

What should that suppose to do C1 is the cops or what ?
Reply
#9

Код:
GameTextForPlayer(i,"~b~Cops~n~~w~intruder stole the~n~~r~jetpack~n~~w~stop him immediately!", 2000, 4);
Quote:
Originally Posted by SA-MP Wiki
Be careful, using too many text colors or special characters in one gametext may crash every player the gametext is shown to. Additionally, avoid using an uneven usage of the ~ character.
Example: ~~r~Hello, ~g~how are ~y~~you?~
Reply
#10

will now work or i must test?
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)