Search Results
Try with IsPlayerInRangeOfPoint
148
Код: if (strcmp("/banp", cmdtext, true, 5) == 0) { new player1; new reason[64]; if (sscanf(params, "us[128]", player1, rea...
109
Quote: Originally Posted by Smokkr Thanks anyway, but I don't need opinion of somebody who don't even try to click the Download button. So you need the opinion of somebody who clicked ...
631
pawn Код: public OnPlayerDisconnect(playerid, reason){new INI:File = INI_Open(UserPath(playerid));INI_SetTag(File,"data");INI_WriteInt(File, "Level",PlayerInfo[playerid][pLevel]);INI_WriteInt(File...
259
CMD:kill( playerid, params[] ) { SetPlayerHealth( playerid, 0 ); return 1; } CMD:reclass( playerid, params[] ) { ForceClassSelection( playerid ); return 1; } CMD:respawn( playerid, params[] ) { SetP...
75
Код: if( sscanf(params, "i", params[0]) ) return SendClientMessage( playerid, -1, "/up [inaltime]"); You forgot the color parameter from SendClientMessage.
68
Add this under OnPlayerText: Код: SetPlayerChatBubble( playerid, text, 0xFFFFFFFF, 200.0, 10000);
120
Код: public OnPlayerCommandText( playerid, cmdtext[] ) { dcmd( gate, 5, cmdtext ); return ( 0 ); } dcmd_gate( playerid, params[] ) { if(IsPlayerInRangeOfPoint(playerid,9,1588.3058,-16...
69
When i connect, the dialog register doesn't shows up. OnPlayerConnect: Код: new QUERY [ 128 ]; format ( QUERY, sizeof ( QUERY ), "SELECT id FROM `"MySQL_DataBase"` WHERE Name = '%s' LIMIT 0,1", My...
50
Nice one, i can see BUD is again on top. I like the way you're scripting xD
190
Код: LoadBizz() { if(!fexist("bizz.cfg")) return 1; new szFileStr[1024], File: iFileHandle = fopen("bizz.cfg", io_read), iIndex; while(iIndex < sizeof(BizzInfo) && fread(iFi...
153
http://forum.sa-mp.com/forumdisplay.php?f=71
152
Код: new Text3D:label[MAX_PLAYERS]; Delete3DTextLabel(label[playerid]);
59
Код: CMD:destroyboombox(playerid, params[]) { if(GetPVarType(playerid, "pBoomBox")) { DestroyDynamicObject(GetPVarInt(playerid, "pBoomBox")); DestroyDynamic3DTextLabel(Text3D:GetPVarI...
123
This is an english section, the gamemode should be translated in english. @OT: Nice script, 8/10
770
Код: enum pInfo { pDeagle };
89