1
Scripting SA-MP [Pawn center] / Re : Problemes Pickup
« le: 27 Février 2012, 21:45:42 »
Merci
Cette section vous permet de consulter les contributions (messages, sujets et fichiers joints) d'un utilisateur. Vous ne pourrez voir que les contributions des zones auxquelles vous avez accès.
public OnPlayerPickUpPickup(playerid, pickupid)
{
if(pickupid == magasin24)
{
GameTextForPlayer(playerid,"~r~Bienvenue 24/7",6000,1);
SetPlayerPos(playerid, -30.946699,-89.609596,1003.546875);
SetPlayerInterior(playerid, 18);
}
return 1;
}
//24/7
new magasin24;
//PICKUPS
magasin24 = CreatePickup(1318, 23, 1832.4574,-1842.3972,13.5781, -1);
[22:05:30] =======================================
[22:05:30] | |
[22:05:30] | YSI version 1.03.0011 |
[22:05:30] | By Alex "Y_Less" Cole |
[22:05:30] | |
[22:05:30] | Checking the latest YSI version.. |
[22:05:30] | |
[22:05:30] =======================================
[22:05:30]
[22:05:30]
[22:05:30] =======================================
[22:05:30] | |
[22:05:30] | YSI version 1.03.0011 |
[22:05:30] | By Alex "Y_Less" Cole |
[22:05:30] | |
[22:05:30] | Checking the latest YSI version.. |
[22:05:30] | |
[22:05:30] =======================================
[22:05:30]
[22:05:30]
[22:05:30]
[22:05:30] INFINITY R : Los Santos
[22:05:30] _____________________
[22:05:30] Par: INFINITY EU
[22:05:30]
[22:05:30] Number of vehicle models: 93
[22:05:30] --- Server Shutting Down.
[22:05:30] [CW anti-cheat] Resetting player classes.
[22:05:30] |------------------------------------|
[22:05:30] | SMods V2.2.1by Sim |
[22:05:30] | Mods saving system unloaded! |
[22:05:30] |------------------------------------|
[22:05:30]
[22:05:30] ===============================
[22:05:30] sscanf plugin unloaded.
[22:05:30] ===============================
[22:05:30]
*** Streamer Plugin v2.5.2 by Incognito unloaded ***
hostname *****
port ****
password
mapname SAN ANDREAS
weburl *****
rcon_password *****
maxplayers 500
query 1
announce 0
instagib 0
filterscripts npc_record
maxnpc 100
onfoot_rate 40
incar_rate 40
weapon_rate 40
stream_distance 300.0
stream_rate 1000
gamemode0 sarp 1
plugins mysql.so streamer.so audio.so
Dans la racine du serveur j'ai : libmysqlclient.so.15SA-MP Dedicated Server
----------------------
v0.3c R5, (C)2005-2011 SA-MP Team
[16:18:36] password = "" (string)
[16:18:36] weburl = "www.sa-mp.com" (string)
[16:18:36]
[16:18:36] Server Plugins
[16:18:36] --------------
[16:18:36] Loading plugin: mysql.so
[16:18:36] SA:MP MySQL Plugin v2.1.1 Loaded.
[16:18:36] Loaded.
[16:18:36] Loading plugin: streamer.so
[16:18:36] [MySQL] Thread running. Threadsafe: Yes.
[16:18:36]
*** Streamer Plugin v2.5.2 R2 by Incognito loaded ***
[16:18:36] Loaded.
[16:18:36] Loading plugin: audio.so
[16:18:36]
*** Audio Plugin v0.5 by Incognito loaded ***
[16:18:36] Loaded.
[16:18:36] Loaded 3 plugins.
[16:18:36]
[16:18:36] Filter Scripts
[16:18:36] ---------------
[16:18:36] Loading filter script 'npc_record.amx'...
[16:18:36] Loaded 1 filter scripts.
[16:18:36] Script[gamemodes/sarp.amx]: Run time error 19: "File or function is not found"
[16:18:36] Number of vehicle models: 0
[Wed Nov 30 13:24:48 2011] -------------------------
[Wed Nov 30 13:24:48 2011] Logging Started
[Wed Nov 30 13:24:48 2011] -------------------------
[Wed Nov 30 13:26:38 2011] -------------------------
[Wed Nov 30 13:26:38 2011] Logging Ended
[Wed Nov 30 13:26:38 2011] -------------------------
[Wed Nov 30 13:27:37 2011] -------------------------
[Wed Nov 30 13:27:37 2011] Logging Started
[Wed Nov 30 13:27:37 2011] -------------------------
[Wed Nov 30 13:29:02 2011] -------------------------
[Wed Nov 30 13:29:02 2011] Logging Ended
[Wed Nov 30 13:29:02 2011] -------------------------
[Wed Nov 30 13:29:54 2011] -------------------------
[Wed Nov 30 13:29:54 2011] Logging Started
[Wed Nov 30 13:29:54 2011] -------------------------
[Wed Nov 30 13:31:10 2011] -------------------------
[Wed Nov 30 13:31:10 2011] Logging Ended
[Wed Nov 30 13:31:10 2011] -------------------------
[Wed Nov 30 13:31:15 2011] -------------------------
[Wed Nov 30 13:31:15 2011] Logging Started
[Wed Nov 30 13:31:15 2011] -------------------------
[Wed Nov 30 16:15:30 2011] -------------------------
[Wed Nov 30 16:15:30 2011] Logging Ended
[Wed Nov 30 16:15:30 2011] -------------------------
[Wed Nov 30 16:17:01 2011] -------------------------
[Wed Nov 30 16:17:01 2011] Logging Started
[Wed Nov 30 16:17:01 2011] -------------------------
[Wed Nov 30 16:18:35 2011] -------------------------
[Wed Nov 30 16:18:35 2011] Logging Ended
[Wed Nov 30 16:18:35 2011] -------------------------
[Wed Nov 30 16:18:36 2011] -------------------------
[Wed Nov 30 16:18:36 2011] Logging Started
[Wed Nov 30 16:18:36 2011] -------------------------
[Wed Nov 30 16:29:27 2011] -------------------------
[Wed Nov 30 16:29:27 2011] Logging Ended
[Wed Nov 30 16:29:27 2011] -------------------------
strfind(inputtext, " ", true) return Kick(playerid);
public OnDialogResponse(playerid, dialogid, response, listitem, inputtext[])
{
if(IsPlayerConnected(playerid))
{
new tmpPass[64],tmp[64],idx;
idx = 0;
if(dialogid == 1) // 1 // Boite de dialogue de l'indetification
{
if(!response)
{SendClientMessage(playerid, COLOR_USAGE, "[Info] Utiliser \"/q\" pour quitter."); Kick(playerid); return 1;} // Le joueur annule
if(strlen(inputtext) == 0) // par default : == 0
{ShowPlayerDialog(playerid,2,DIALOG_STYLE_INPUT,"Mot de passe erroné","Entrez votre mot de passe","Valider","Quitter"); return 1;}
tmp = strtok(inputtext, idx);
strmid(tmpPass, tmp, 0, strlen(inputtext), 255);
OnPlayerLogin(playerid,tmpPass);
return 1;
}
if(dialogid == 2) // 2 // Boite de dialogue de l'indetification si il a raté la 1ere fois
{
if(!response)
{ SendClientMessage(playerid, COLOR_USAGE, "[Info] Utiliser \"/q\" pour quitter."); Kick(playerid); return 1;} // Le joueur annule
if(strlen(inputtext) == 0)// par default : == 0
{ShowPlayerDialog(playerid,2,DIALOG_STYLE_INPUT,"Mot de passe erroné","Entrez votre mot de passe","Valider","Quitter"); return 1;}
tmp = strtok(inputtext, idx);
strmid(tmpPass, tmp, 0, strlen(inputtext), 255);
OnPlayerLogin(playerid,tmpPass);
return 1;
}