[HELP] Tizio è andato a ...
#4
Inviato il 05 ottobre 2010 - 18:12
Se ti serve solo nei comandi fai:
EDIT:
Bravo The Devil sei riuscito a copiare il codice preciso e adattarlo dal mio post qua: http://forum.gta-exp...sconnessomorto/
new string[128], pName[24]; GetPlayerName(playerid, pName, 24); format(string, 128, "[%d] %s è andato a %s", playerid, pName, cmdtext); SendClientMessageToAll(COLOR_GREEN, string);
EDIT:
Bravo The Devil sei riuscito a copiare il codice preciso e adattarlo dal mio post qua: http://forum.gta-exp...sconnessomorto/

Messaggio modificato da Peppinux aka Peppe_Stasu il 05 ottobre 2010 - 18:13
#6
Inviato il 05 ottobre 2010 - 20:53
vabbè ora non discutete solo per un copia e incolla di un format...
My Works
[FS]_All3Xz_ Anti-Cheat 4
[FS]_All3Xz_ Anti-Cheat 7
[FS]_All3Xz_ Anti-Cheat 8
[GM] PVCM Training 0.? (MySQL)
[APP]_All3Xz_ NPC Generator
[GUIDA] Leggere da file usando dini
[GUIDA] Scripting GTA:IV - Callbacks
[GM] PVCM Training 1 (MySQL)
[GM] PVCM A/D
[GUIDA] Leggere da file usandi dini 2
[FS]_All3Xz_ Anti-Cheat 4
[FS]_All3Xz_ Anti-Cheat 7
[FS]_All3Xz_ Anti-Cheat 8
[GM] PVCM Training 0.? (MySQL)
[APP]_All3Xz_ NPC Generator
[GUIDA] Leggere da file usando dini
[GUIDA] Scripting GTA:IV - Callbacks
[GM] PVCM Training 1 (MySQL)
[GM] PVCM A/D
[GUIDA] Leggere da file usandi dini 2
#12
Inviato il 06 ottobre 2010 - 13:33
Non mi da errori ma quando provo mi spunta 3 4 5 volte è andato a capisci ?
Non so come fartelo capire tipo faccio spawn1 : ...è andato a
sapwn2: ... è andato a
... è andato a
Ogni comando aumentano le scritte che spuntano quando faccio /GroveStreet mene spuntano tantissimi
Non so come fartelo capire tipo faccio spawn1 : ...è andato a
sapwn2: ... è andato a
... è andato a
Ogni comando aumentano le scritte che spuntano quando faccio /GroveStreet mene spuntano tantissimi
Livello Scripter: Apprendista
#14
Inviato il 07 ottobre 2010 - 12:43
Aspetta lo rifaccio ma non mi da errori lui melo compila
C:\Documents and Settings\PC\Documenti\GTA San Andreas User Files\Samp Server 0.3b\gamemodes\x3.pwn(610) : warning 217: loose indentation
C:\Documents and Settings\PC\Documenti\GTA San Andreas User Files\Samp Server 0.3b\gamemodes\x3.pwn(611) : error 021: symbol already defined: "string"
C:\Documents and Settings\PC\Documenti\GTA San Andreas User Files\Samp Server 0.3b\gamemodes\x3.pwn(613) : warning 217: loose indentation
Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase
1 Error.
new
string[128],
pName[24];
GetPlayerName(playerid, pName, 24);
format(string, 128, "[%d] %s è andato a %s", playerid, pName, cmdtext);
SendClientMessageToAll(COLOR_GREEN, string);
if(strcmp("/LibertyCity", cmdtext, true) == 0)
{
SetPlayerPos(playerid, -779.1674,509.6091,1381.5957 );
SetPlayerInterior(playerid, 1);
SendClientMessage(playerid, COLOR_WHITE, "Benvenuto nella vecchia Liberty City fai attenzione all'insolidità!");
return 1;
}
new
string[128],
pName[24];
GetPlayerName(playerid, pName, 24);
format(string, 128, "[%d] %s è andato a %s", playerid, pName, cmdtext);
SendClientMessageToAll(COLOR_GREEN, string);
if(strcmp("/Spawn1", cmdtext, true) == 0)
{
SetPlayerPos(playerid, 1170.7137, -1489.4867, 22.7553);
SendClientMessage(playerid, COLOR_WHITE, "Benvenuto nella zona di spawn numero 1!");
return 1;
C:\Documents and Settings\PC\Documenti\GTA San Andreas User Files\Samp Server 0.3b\gamemodes\x3.pwn(610) : warning 217: loose indentation
C:\Documents and Settings\PC\Documenti\GTA San Andreas User Files\Samp Server 0.3b\gamemodes\x3.pwn(611) : error 021: symbol already defined: "string"
C:\Documents and Settings\PC\Documenti\GTA San Andreas User Files\Samp Server 0.3b\gamemodes\x3.pwn(613) : warning 217: loose indentation
Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase
1 Error.
new
string[128],
pName[24];
GetPlayerName(playerid, pName, 24);
format(string, 128, "[%d] %s è andato a %s", playerid, pName, cmdtext);
SendClientMessageToAll(COLOR_GREEN, string);
if(strcmp("/LibertyCity", cmdtext, true) == 0)
{
SetPlayerPos(playerid, -779.1674,509.6091,1381.5957 );
SetPlayerInterior(playerid, 1);
SendClientMessage(playerid, COLOR_WHITE, "Benvenuto nella vecchia Liberty City fai attenzione all'insolidità!");
return 1;
}
new
string[128],
pName[24];
GetPlayerName(playerid, pName, 24);
format(string, 128, "[%d] %s è andato a %s", playerid, pName, cmdtext);
SendClientMessageToAll(COLOR_GREEN, string);
if(strcmp("/Spawn1", cmdtext, true) == 0)
{
SetPlayerPos(playerid, 1170.7137, -1489.4867, 22.7553);
SendClientMessage(playerid, COLOR_WHITE, "Benvenuto nella zona di spawn numero 1!");
return 1;
Livello Scripter: Apprendista