05.10.2011, 18:51
The Samp-server.exe Can't Load the Gm What is Wrong ?
Y made a cmd /zemidroga here is it,When this cmd is in gm the samp-server.exe can't start when y delete cmd the samp-server.exe is Running..
http://zaslike.com/files/d465dws7650xpl5u36tj.png here is a picture
Y made a cmd /zemidroga here is it,When this cmd is in gm the samp-server.exe can't start when y delete cmd the samp-server.exe is Running..
http://zaslike.com/files/d465dws7650xpl5u36tj.png here is a picture
Код:
if(strcmp(cmd, "/zemiseme", true) == 0)
{
new string[128], sjeme;
if(sscanf(cmdtext, "d", sjeme))
{
SendClientMessage(playerid, COLOR_WHITE, "{168BFF}INFO: {959561} /sjeme [kolicina]" );
SendClientMessage(playerid, COLOR_GREY, "{B55B5B}Cijena po sjemenu: {009249}75$");
}
else
{
if(sjeme >= 1)
{
if(PlayerToPoint(playerid, 2.5, 330.3539,1123.0370,1083.8828))
{
PlayerInfo[playerid][pSjeme] += sjeme;
GivePlayerMoney(playerid, -sjeme*75);
format(string, sizeof(string), "{FF8080}Kupio si {6FDD00}%d {FF8080}sjemena! Sada ih imas {6FDD00}%d", sjeme, PlayerInfo[playerid][pSjeme]);
SendClientMessage(playerid, 0xFF8040FF, string);
}
else
{
SendClientMessage(playerid, COLOR_GREY, "Nisi kod covjeka sa sjemenom!");
}
}
else
{
SendClientMessage(playerid, COLOR_GREY, "Ne idi ispod 1!");
}
}
return 1;
}

