? AWKWARD! SA-MP Dedicated Server ---------------------- v0.3c R5, ©2005-2011 SA-MP Team [06:16:14] [06:16:14] Server Plugins [06:16:14] -------------- [06:16:14] Loading plugin: streamer.dll [06:16:14] *** Streamer Plugin v2.5.2 by Incognito loaded *** [06:16:14] Loaded. [06:16:14] Loading plugin: sscanf.dll [06:16:14] [06:16:14] =============================== [06:16:14] sscanf plugin loaded. [06:16:14] © 2009 Alex "******" Cole [06:16:14] 0.3d-R2 500 Players "dnee" [06:16:14] =============================== [06:16:14] Loaded. [06:16:14] Loading plugin: Whirlpool.dll [06:16:14] [06:16:14] ================== [06:16:14] [06:16:14] Whirlpool loaded [06:16:14] [06:16:14] ================== [06:16:14] [06:16:14] Loaded. [06:16:14] Loaded 3 plugins. [06:16:14] [06:16:14] Filter Scripts [06:16:14] --------------- [06:16:14] Loaded 0 filter scripts. [06:16:14] [06:16:14] ======================================= [06:16:14] | | [06:16:14] | YSI version 1.03.0011 | [06:16:14] | By Alex "******" Cole | [06:16:14] | | [06:16:14] | Checking the latest YSI version.. | [06:16:14] | | [06:16:14] ======================================= [06:16:14] [06:16:14] EnableTirePopping() function is removed. [06:16:14] SA-MP Dedicated Server | v0.3c R5, ©2005-2011 SA-MP Team [06:16:14] [06:16:14] Loading GameMode... [06:16:14] Initalizing... [06:16:14] [06:16:14] Loading 00% [06:16:14] Loading 25% [06:16:14] Loading 50% [06:16:14] Loading 75% [06:16:14] Loaded 100% [06:16:14] [06:16:14] Initalized! [06:16:14] [06:16:14] GameMode Loaded Successfully! [06:16:14] [06:16:14] PCRP[Version 4.1] Made By Lookin Updated 20/08/2012 [06:16:14] Copyright © 2010 - 2012 LScripting Productions [06:16:14] Sponsored By [06:16:14] Profound Gaming: Gaming So Intense, It's Considered Profanity! [06:16:14] www.profoundgaming.weebly.com [06:16:14] [06:16:14] Number of vehicle models: 182 [06:16:15] Weather changed to ID: 35 [06:16:35] [06:16:35] ======================================= [06:16:35] | | [06:16:35] | Error: Could not connect to YSI | [06:16:35] | update server (response was 006). | [06:16:35] | | [06:16:35] ======================================= [06:16:35] [06:18:55] Incoming connection: 192.168.1.3:55287 [06:18:55] [join] [PG]Lookin has joined the server (0:192.168.1.3) [06:19:01] [PG]Lookin has registered an account. [06:19:17] [chat] [[PG]Lookin]: hi
#include <a_samp> #include <streamer> #include <zcmd> #include <sscanf2> #include <time> #include <gLibrary>
public OnPlayerUpdate(playerid)
{
if(GetPlayerState(playerid)==PLAYER_STATE_ONFOOT)
{
new weaponid=GetPlayerWeapon(playerid),oldweapontype=GetWeaponType(OldWeapon[playerid]);
new weapontype=GetWeaponType(weaponid);
if(HoldingWeapon[playerid]==weaponid)
StopPlayerHoldingObject(playerid);
if(OldWeapon[playerid]!=weaponid)
{
new modelid=GetWeaponModel(OldWeapon[playerid]);
if(modelid!=0 && oldweapontype!=WEAPON_TYPE_NONE && oldweapontype!=weapontype)
{
HoldingWeapon[playerid]=OldWeapon[playerid];
switch(oldweapontype)
{
case WEAPON_TYPE_LIGHT:
SetPlayerHoldingObject(playerid, modelid, 8,0.0,-0.1,0.15, -100.0, 0.0, 0.0);
case WEAPON_TYPE_MELEE:
SetPlayerHoldingObject(playerid, modelid, 7,0.0,0.0,-0.18, 100.0, 45.0, 0.0);
case WEAPON_TYPE_HEAVY:
SetPlayerHoldingObject(playerid, modelid, 1, 0.2,-0.125,-0.1,0.0,25.0,180.0);
}
}
}
if(oldweapontype!=weapontype)
OldWeapon[playerid]=weaponid;
}
if(!IsPlayerConnected(playerid)) return 0;
// No weapons in interiors
if(GetPlayerInterior(playerid) != 0 && GetPlayerWeapon(playerid) != 0) {
SetPlayerArmedWeapon(playerid,0); // fists
return 0; // no syncing until they change their weapon
}
/* // Don't allow minigun
if(GetPlayerWeapon(playerid) == WEAPON_MINIGUN) {
Kick(playerid);
return 0;
}*/
/* No jetpacks allowed
if(GetPlayerSpecialAction(playerid) == SPECIAL_ACTION_USEJETPACK) {
Kick(playerid);
return 0;
}*/
SetPlayerScore( playerid, GetPlayerWantedLevel( playerid ) );
/* if ( GetPlayerWantedLevel( playerid ) > 0 )
SetPlayerScore( playerid, GetPlayerWantedLevel( playerid ) );*/
// return 1;
// }
return 1;
}
|
ive even tryed downgrading it but since the 0.3e update my script doesn't want to know. |