05.11.2012, 16:55
I will try to help you,sorry for my bad english...
Warnings:
1.Symbol is assigned a value that is never used:
2.Function "OnPlayerKeyStateChange" should return a value and function "OnPlayerStateChange" should return a value;
I will edit this post,when I have free time to resolve your other warnings
Sorry for my bad english
Warnings:
1.Symbol is assigned a value that is never used:
Код:
public OnGameModeInit() { new blabla; blabla = CreatePickup(...); //codee } // If you dont use that define(in this case pickup) later,that warning will show!!
Код:
OnPlayerKeyStateChange(playerid, newkeys, oldkeys) { SendClientMessage(playerid, -1, "Example!"); //if you dont return value at the end of the callback warning will show,in this case yes,baceacuse I dont return value in this example }
Код:
OnPlayerStateChange(playerid, newstate, oldstate) { SendClientMessage(playerid, -1, "You have been change your state!"); return 1; //if you dont return value at the end of the callback warning will show,in this case NO,baceacuse I return value in this example... }
Sorry for my bad english