Search Results
pawn Код:
public OnPlayerSpawn(playerid){Â new classid;Â SetPlayerToTeamColor(playerid);Â if (classid == 0) {Â Â gTeam[playerid] = TEAM_GROVE;Â }Â else {Â Â gTeam[playerid] = TEAM_BALLA;Â...
294
Quote:
Originally Posted by Don Correlli
Open your PAWN IDE, copy that code to your script at the function/callback where you want to use it, compile and run you server and you'll get your...
200
Quote:
Originally Posted by TheOneThatOwnZ
yeah i know that
Please show us the OnDialogResponse callback.
355
Remember, you can't use the same ID.
355
Td bem entгo... e no caso:
SERVER BOM DE RPG, ENTRE JБ E GANHE UMA CASA XXX.XXX.XXX.XXX !
ou
verygoodserver.no-ip.info ? =]
Sу estou dizendo que fazer tal cуdigo й mais complexo do que parece
438
@andmeida
Se vocк pensar bem n funciona praticamente para nada...
vendo assim da para entender que o primeiro texto eh checado..
se eu estivesse conversando com alguem no servidor por exemplo assim...
438
http://forum.sa-mp.com/index.php?topic=137412.0
216
pawn Код:
public OnPlayerCommandText(playerid, cmdtext[]){if(strcmp(cmdtext,"/skydive",true)==0){ // here...SetPlayerPos(playerid,-2342.1726,-1176.2717,2145.3945);GivePlayerWeapon(playerid, 46, 1)...
271
Tente isto (sу vai funcionar se o player fizer o comando estando nos bancos traseiros do enforcer) :
pawn Код:
#include <a_samp>new Inenforcer[MAX_PLAYERS];new Watching[MAX_PLAYERS];new Flo...
419
put one of the objects in the new place you want (do not save it!), get the new object position, compare with the old position... lets say:
Old X was: 305.23
New X is: 1640.61
Old Y was: 109.15
New ...
355
Sorry, was having my dinner. So.. this code compiles fine to me... must be somewhere else
278
Try that:
pawn Код:
// When you call the dialog:new pname[24];new pfile[128];GetPlayerName(playerid, pname, sizeof(pname));format(pfile,sizeof(pfile),"Users/%s.ini",pname);if(fexist(pfile)){Â Sh...
222
Show the whole code. ( i bet is a bracket problem...)
278
pawn Код:
if(!strcmp("/poffduty",cmdtext))Â {Â Â Â Â new gTeam[MAX_PLAYERS]; // YOU CREATED THE VARÂ Â if(gTeam[playerid] == 1) // you checked it, but you didn't used it in anywhere, so how...
236
Quote:
Originally Posted by RicardoMoreira
Olб eu keria ao meter /duty que ele metesse uma skin de policia como se faz ?
Salva o skin atual do player em uma variavel, use SetPlayerSkin...
370
Legal, e bem simples, chegando em casa eu testo isso com meu irmгo =]
489
Quote:
Originally Posted by pawNO
Hehehe Funcionou sim, a lataria continua quebrando mais ai jб e pedir demais nгo й? xD
com a lataria eu acho que dou um jeito, se souber como faz post...
352
Quote:
Originally Posted by Last_Stand_Guardian
My code would also work, but his code is shorter and better xD
Thanks Waff =D
Yeah your code should work but i don't like to let the pla...
288
WARNING
vehicleid IS NOT vehicle model.
I Recommend you to use:
OnVehicleStreamIn()
pawn Код:
if(gteam[playerid] != TEAMID){Â Â SetVehicleParamsForPlayer(forplayerid,vehicleid,0,1);Â }
288