GTA Közösség - A magyar GTA fórum
San Andreas Multiplayer (SA-MP) => SA-MP: Szerverfejlesztés => Segítségkérés => A témát indította: Norby - 2011. június 07. - 18:46:18
-
Hellosztok nemtudok rájönni erre a hibákra segitsetek :D
[pawn]C:\\Documents and Settings\\Norby\\Asztal\\Samp Szerver\\gamemodes\\bare.pwn(421) : warning 213: tag mismatch
C:\\Documents and Settings\\Norby\\Asztal\\Samp Szerver\\gamemodes\\bare.pwn(421) : warning 202: number of arguments does not match definition[/pawn]
[pawn]new pickup;[/pawn]
[pawn]public OnPlayerPickUpPickup(playerid,pickupid)
{
if(pickupid == pickup)
{
SendClientMessage(playerid,COLOR_GREEN,\"szoveg\");
}
return 1;
}[/pawn]
[pawn]pickup=AddStaticPickup(1318,2050.4285,-2630.2942,69.9419);//pénz[/pawn]
-
Nehéz bemásolni a kódot?
-
Bocs :D
-
Nehéz gúúglézni?
http://lmgtfy.com/?q=AddStaticPickup
http://wiki.sa-mp.com/wiki/Pickup_Type
-
AddStaticPickup(1242, 2, 1503.3359, 1432.3585, 10.1191, 0);
model The model of the pickup.
type The pickup spawn type, see further down this page.
Float:X The X coordinate to create the pickup at.
Float:Y The Y coordinate to create the pickup at.
Float:Z The Z coordinate to create the pickup at.
virtualworld The virtual world ID of the pickup. Use -1 to show the pickup in all worlds.
eszerint csnáld.
-
nah most eltünt az egyik hiba ez mert 0 kellet a végére de ez miért van ??
[pawn]C:\\Documents and Settings\\Norby\\Asztal\\Samp Szerver\\gamemodes\\bare.pwn(420) : warning 213: tag mismatch[/pawn]
Dupla hozzászólás automatikusan összefûzve. ( 2011. június 07. - 19:02:18 )
Megvaaaan KÖSZII zárok :D